abstract
ScriptEvaluatorWorker
Constructors
new ScriptEvaluatorWorker()
new ScriptEvaluatorWorker():
ScriptEvaluatorWorker
Returns
Methods
onError()
abstract
onError(handler
: (err
:any
) =>void
):void
Parameters
• handler
Returns
void
onMessage()
abstract
onMessage(handler
: (e
:ScriptWorkerMessageData
) =>void
):void
Parameters
• handler
Returns
void
send()
abstract
send(type
:string
,payload
:any
):void
Parameters
• type: string
• payload: any
Returns
void