Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime, runtime builder, and runtime handle.

The Runtime is the top-level owner constructed via RuntimeBuilder. After building, call Runtime::handle() to obtain a RuntimeHandle — a cheaply cloneable control surface for adding/removing feeds, subscribing to health and output events, and triggering shutdown.

Runtime::shutdown() consumes the runtime, joins all worker threads, and guarantees a clean stop.

Each feed runs on a dedicated OS thread (see the worker module).

Structs§

Runtime
The top-level NextVision runtime.
RuntimeBuilder
Builder for constructing a Runtime.
RuntimeHandle
Cloneable handle to the runtime.