Show / Hide Table of Contents

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 Source

Create()

Create an new instance indicating a successful call.

Declaration
TResult Create()
Returns
Type Description
TResult

A new TResult instance representing a successful function call

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX