Documentation / @andrew_l/app / addWorkerTask
Function: addWorkerTask() ​
addWorkerTask<
C>(instance,ctx):void
Enqueue a task context on the worker. Fires backpressure signals at 80% capacity.
Type Parameters ​
C ​
C extends WorkerStrategy<Context>
Parameters ​
instance ​
ctx ​
TaskContext<C>
Returns ​
void