Skip to main content

Module types

Module types 

Source
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§

CompiledComponent
A compiled WebAssembly component, ready for instantiation.
ComponentInstance
A live WebAssembly component instance, ready for invocation.
ImportBindings
Import bindings for component instantiation.
InvocationResult
Metadata about a completed invocation, for observability.
OutputElement
An output element produced by a component.
StreamElement
A stream element as seen by the engine layer.

Enums§

ProcessResult
Result of a processor component’s process invocation.