(monitor) ( path recursive? mailbox -- monitor )
File system change monitors

Prev:next-change ( monitor -- change )
Next:File system change descriptors


Vocabulary
io.monitors

Inputs
patha pathname string
recursive?a boolean
mailboxa mailbox


Outputs
monitora new monitor


Generic word contract
Opens a file system change monitor which listens for changes on path and posts notifications to mailbox as triples with shape { path changed monitor } . The boolean indicates whether changes in subdirectories should be reported.

Errors
Throws an error if the pathname does not exist, if a monitor could not be created or if the platform does not support monitors.

Definition


HOOK: (monitor) io-backend
( path recursive? mailbox -- monitor )


Methods