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

Properties

data?: Data

Task input data that will be passed to the worker.

id?: string

Message UUID.

name?: string

Task name.

Generated using TypeDoc