Handbook
Glossary
with-monitors ( quot -- )
File system change monitors
Next:
<monitor> ( path recursive? -- monitor )
Vocabulary
io.monitors
Inputs
quot
a
quotation
Outputs
None
Word description
Calls a quotation in a new dynamic scope where file system monitor operations can be performed.
Errors
Throws an error if the platform does not support file system change monitors.
Definition
USING:
continuations
namespaces
;
IN:
io.monitors
:
with-monitors
( quot -- )
[
init-monitors
[
dispose-monitors
]
finally
]
with-scope
;
inline