Interface IWorker

Worker interface.

Hierarchy

  • IWorker

Properties

Properties

on: ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void)

Register an event listener.

Param

The event.

Param

The event handler.

once: ((event, handler) => void)

Type declaration

    • (event, handler): void
    • Register a listener to the exit event that will only be performed once.

      Parameters

      Returns void

Generated using TypeDoc