Interface IActionResultBuilder<TResult>
A factory which constructs instances of result types which do not contain a return value.
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public interface IActionResultBuilder<out TResult>
where TResult : struct
Type Parameters
Name | Description |
---|---|
TResult | Type being constructed |
Methods
| Improve this Doc View SourceCreate()
Create an new instance indicating a successful call.
Declaration
TResult Create()
Returns
Type | Description |
---|---|
TResult | A new TResult instance representing a successful function call |
Create(TrapAccessor)
Create a new instance indicating a trap result.
Declaration
TResult Create(TrapAccessor accessor)
Parameters
Type | Name | Description |
---|---|---|
TrapAccessor | accessor |
Returns
Type | Description |
---|---|
TResult | A new TResult instance representing a trap result |