Skip to main content

WorkerMessage

@webda/workout • Readme | API


Class: WorkerMessage

Represents a message emitted by WorkerOutput

Indexable​

[key: string]: any

Constructors​

new WorkerMessage(type, workout, infos)​

new WorkerMessage(type, workout, infos): WorkerMessage

Parameters​

• type: WorkerMessageType

• workout: WorkerOutput

• infos: any= {}

Returns​

WorkerMessage

Source​

src/core.ts:191

Properties​

currentProgress?​

currentProgress?: string

Source​

src/core.ts:185


groups​

groups: string[]

Source​

src/core.ts:182


input?​

input?: WorkerInput

Source​

src/core.ts:189


log?​

log?: WorkerLog

Source​

src/core.ts:186


progresses​

progresses: Object = {}

Index signature​

[key: string]: WorkerProgress

Source​

src/core.ts:184


timestamp​

timestamp: number

Source​

src/core.ts:187


type​

type: WorkerMessageType

Source​

src/core.ts:183