Interface Task<Data>Internal

Message object that is passed as a task between main worker and worker.

Type Parameters

  • Data = unknown

    Type of data sent to the worker. This can only be serializable data.

Hierarchy

Properties

data?: Data

Task input data that will be passed to the worker.

id?: string

Message UUID.

name?: string

Task name.

submissionTimestamp?: number

Submission timestamp.

Generated using TypeDoc