task

fun task(id: String, block: suspend () -> Unit): KmpWorkerBuilder

Registers a task handler (no context).