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
Source
Properties
currentProgress?
currentProgress?:
string
Source
groups
groups:
string
[]
Source
input?
input?:
WorkerInput
Source
log?
log?:
WorkerLog
Source
progresses
progresses:
Object
={}
Index signature
[key
: string
]: WorkerProgress
Source
timestamp
timestamp:
number
Source
type
type:
WorkerMessageType