serve

fun serve(bundle: Bundle)

Blocking entry point: connects to the coordinator and serves task-execution requests from the given bundle.

This is a convenience wrapper around serveAsync for use from a plain main method. Prefer serveAsync when calling from an existing coroutine. The call returns when the coordinator closes the connection (normally after one task-instance execution).

Parameters

bundle

Bundle containing all Dags this process can execute.

See also