Inline web worker that runs jobs asynchronously.

Constructors

Accessors

Methods

  • adds a job to the worker's queue and starts it automatically

    Parameters

    Returns Promise<void>

  • starts the next free job if no other is running.

    Returns void

  • removes a job from the queue and tries to start another

    Parameters

    • id: number

      the job's id

    Returns void