Constructors
Accessors
Methods
on
- on(event: "error", listener: (error: Crash | Multi) => void): this
Parameters
- event: "error"
- listener: (error: Crash | Multi) => void
Returns this
- on(event: "off", listener: (taskId: string, task: TaskBaseConfig) => void): this
Returns this
- on(
event: "slow",
listener: (taskId: string, task: TaskBaseConfig) => void,
): this Returns this
- on(
event: "fast",
listener: (taskId: string, task: TaskBaseConfig) => void,
): this Returns this
- on(
event: "done",
listener: (
uuid: string,
result: any,
meta: MetaData,
error?: Crash | Multi,
) => void,
): this Parameters
- event: "done"
- listener: (uuid: string, result: any, meta: MetaData, error?: Crash | Multi) => void
Returns this
- on(event: "endCycle", listener: (check: Check<PollingStats>) => void): this
Returns this
- on(event: "startCycle", listener: () => void): this
Parameters
- event: "startCycle"
- listener: () => void
Returns this
schedule
- schedule(): void
Returns void
Create a polling manager