execute

suspend fun execute(id: String, context: TaskExecutionContext = TaskExecutionContext(id))

Executes the registered handler for the given task ID with the provided context.

Throws

if no handler is registered for id.