Static methods

@:noExprstaticinit(loop:Loop):Result<FsEvent>

Allocates and initializes an FS event handle.

@:noExprstaticstart(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.

@:noExprstaticstop(this:FsEvent):Result<NoData>

Stops the handle.