Expand description
Engine-specific types for the Torvyn runtime.
These types bridge Torvyn’s domain model with the underlying Wasm engine.
They are designed for the hot path: StreamElement and OutputElement
are passed through ComponentInvoker on every element.
Structs§
- Compiled
Component - A compiled WebAssembly component, ready for instantiation.
- Component
Instance - A live WebAssembly component instance, ready for invocation.
- Import
Bindings - Import bindings for component instantiation.
- Invocation
Result - Metadata about a completed invocation, for observability.
- Output
Element - An output element produced by a component.
- Stream
Element - A stream element as seen by the engine layer.
Enums§
- Process
Result - Result of a processor component’s
processinvocation.