fam-task reference

As promised, here’s a list of all procedures provided by fam-task, together with their (informal) contracts.

Event handlers get passed an argument of type fam-event, an opaque structure whose contents can be inspected with the following selectors:

Finally, you can control to some extend the underlying machinery used by FAM tasks to detect events:

1 That is, this function will not work for paths of regular files inside monitored directories, nor for subdirectories when recursive monitoring is off. The same caveat applies to suspend/resume below.