Interface: KyooWorkerControls
An object containing the controls for the worker.
Remarks
These controls can be used from inside the job processor to pause or resume the worker without having to exit the scope of the job processor.
Since
1.20240407.0
Properties
Property | Type | Description |
---|---|---|
pause | () => Promise <void > | A function which pauses the worker. |
resume | () => Promise <void > | A function which resumes the worker. |