Class WorkerTask<T, D, P>

Type Parameters

  • T
  • D
  • P

Constructors

Properties

data: D
promise: Promise<P>
promiseRejecter: ((value) => void) = ...

Type declaration

    • (value): void
    • Parameters

      • value: any

      Returns void

promiseResolver: ((value) => void) = ...

Type declaration

    • (value): void
    • Parameters

      • value: P | PromiseLike<P>

      Returns void

type: T