processQueue

Process pending job(s) on the queue of this worker. Note that jobs scheduled with executeAfter using non-zero timeout are not processed this way. If termination request arrives while processing the queue via this API, worker is marked as terminated and will exit once the current request is done with.

Since Kotlin

1.3

Return

true if request(s) was processed and false otherwise.

Throws

if this request is executed on non-current Worker.