EventHandler

Signature

export declare class EventHandler extends CustomEventHandler

Properties

filter: (path: string) => boolean;

Filters a file path.

Parameters
path
The path to filter.
Returns

`true` if the path passes the filter, otherwise `false`.

Methods

load(eventsDir: string): Promise<void>;
reloadAll(stopIfFail?: boolean): Promise<void>;