start

suspend fun start(instanceId: Int, channel: ReceiveChannel<Task>)

Starts the worker service to begin processing tasks.

Parameters

instanceId

The ID of the worker instance.

channel

The receive channel from which tasks are consumed.