reflow_network
The Reflow network executor — owns actors, routes messages, manages subgraphs, and emits runtime events.
Most users should depend on
reflow_rtwhich re-exports this crate asreflow_rt::network. Depend directly onreflow_networkonly if you are embedding the executor in a custom runtime and do not want the bundled component catalog.
What it provides
Network,NetworkConfig— the executable runtime.SubgraphActor— embed aGraphExportas a first-class actor in a parent network.NetworkEventstream —ActorStarted,ActorFailed, packet-level trace events.TemplateRegistry,NodeTemplate,DisplayComponent— discovery surface for editors.- Optional feature
flowtracefor structured flow tracing. - Optional feature
wasmfor browser / Wasm runtimes.
Quick glance
use ;
let mut net = new;
// ... register actors, add_node, add_connection, add_initial ...
let events = net.get_event_receiver;
spawn;
net.start?;
Always subscribe to events before calling start() so no events are missed.
License
MIT OR Apache-2.0.