Interface IActionResult<TResult, TBuilder>
Indicates that the type implementing this interface is a "Result" type for actions (i.e. functions without a return value). This means that the function WASM call will use the TBuilder type to create an instance of the TResult type and return that. This can be used by advanced users to extract the necessary information from a trap result.
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public interface IActionResult<TResult, TBuilder>
where TResult : struct, IActionResult<TResult, TBuilder> where TBuilder : struct, IActionResultBuilder<TResult>
Type Parameters
Name | Description |
---|---|
TResult | Type of this result type. |
TBuilder | Type of the builder used to construct TResult |