Hierarchy

  • EventEmitter
    • PollingManager

Constructors

Accessors

Methods

Constructors

Accessors

  • get check(): Check<any>
  • Return the stats of the polling manager

    Returns Check<any>

Methods

  • Emitted on every error

    Parameters

    • event: "error"
    • listener: (error: Crash | Multi) => void

    Returns this

  • Emitted when a task is passed to off, this means that the task has been disabled

    Parameters

    Returns this

  • Emitted when a task is passed to slow cycle

    Parameters

    Returns this

  • Emitted when a task is passed to fast cycle

    Parameters

    Returns this

  • Emitted when a task has ended

    Parameters

    • event: "done"
    • listener: (uuid: string, result: any, meta: MetaData, error?: Crash | Multi) => void

    Returns this

  • Emitted when a cycle has ended

    Parameters

    Returns this

  • Emitted when a cycle has started

    Parameters

    • event: "startCycle"
    • listener: () => void

    Returns this

  • Schedule the tasks to be executed

    Returns void