Skip to main content

main

Function main 

Source
pub fn main(runner: impl OperatorRunner) -> Result<()>
Expand description

Entry point for a runtime process.

Reads the DORA_RUNTIME_CONFIG env var, builds the tokio runtime, runs the language-neutral event loop on a spawned thread, and calls OperatorRunner::run_operator on the main thread. Each per-language backend calls this with its own runner.