Switchboard
The switchboard service provides an orchestration layer on top of core I/O. It provides realtime rationalising of channel infrastructure as the environment changes (e.g. a new subscriber being created, or a service being shut down), as well as a more ergonomic messaging library.
Crate structure
This service has 4 crates:
selium-switchboard(client/) - client library that guests consumeselium-switchboard-core(core/) - core logicselium-switchboard-protocol(protocol/) - wire protocolselium-switchboard-server(server/) - WASM module run by the host
Usage
Compile the selium-switchboard-server component to WebAssembly and install in the Runtime's work directory:
The selium-switchboard-server component should be added to the Selium Runtime's initialisation args: