Static methods

staticinit(loop:Loop):Result<FsEvent>

Allocates and initializes an FS event handle.

staticstart(this:FsEvent, path:NativeString, ?flags:Array<FsEventFlag>, callback:(result:Result<{file:Null<NativeString>, events:Array<FsEventType>}>) ‑> Void):Void

Starts the handle and watches the given path for changes.

staticstop(this:FsEvent):Result<NoData>

Stops the handle.