Expand description
WasmSourceConsumer — Consumer trait implementation for the source world.
The guest IS the source: it owns an async run() loop that awaits
host-provided accept-http / submit-exchange. The host bridges the
async guest to the pipeline via bounded tokio channels, and uses the
cancel token (raced in each import) + epoch deadline for cancellation.
Structs§
- Wasm
Source Consumer - Consumer backed by a WASM
sourceworld component.
Functions§
- parse_
guest_ config - Extract guest config (bind, path, etc.) from URI query params. WasmConfig::from_uri drops unknown params, so we parse them separately.