Skip to main content

Class AsyncExternalStackFrame

Represents a stack frame used to invoke an asynchronous external function.

Assembly: WaaS.Core.dll
View Source
Declaration
public class AsyncExternalStackFrame : IStackFrameCore, IVersionedDisposable<ushort>

Implements:
WaaS.Runtime.IStackFrameCore, WaaS.IVersionedDisposable<T>

Properties

Version

View Source
Declaration
public ushort Version { get; }

Methods

Dispose(ushort)

View Source
Declaration
public void Dispose(ushort version)
Parameters
TypeName
System.UInt16version

GetResultLength(ushort)

View Source
Declaration
public int GetResultLength(ushort version)
Returns

System.Int32

Parameters
TypeName
System.UInt16version

MoveNext(ushort, Waker)

View Source
Declaration
public StackFrameState MoveNext(ushort version, Waker waker)
Returns

WaaS.Runtime.StackFrameState

Parameters
TypeName
System.UInt16version
WaaS.Runtime.Wakerwaker

TakeResults(ushort, Span<StackValueItem>)

View Source
Declaration
public void TakeResults(ushort version, Span<StackValueItem> dest)
Parameters
TypeName
System.UInt16version
System.Span<WaaS.Runtime.StackValueItem>dest

DoesTakeResults(ushort)

View Source
Declaration
public bool DoesTakeResults(ushort version)
Returns

System.Boolean

Parameters
TypeName
System.UInt16version

PushResults(ushort, Span<StackValueItem>)

View Source
Declaration
public void PushResults(ushort version, Span<StackValueItem> source)
Parameters
TypeName
System.UInt16version
System.Span<WaaS.Runtime.StackValueItem>source

Get(AsyncExternalFunction, ReadOnlySpan<StackValueItem>)

View Source
Declaration
public static AsyncExternalStackFrame Get(AsyncExternalFunction function, ReadOnlySpan<StackValueItem> inputValues)
Returns

WaaS.Runtime.AsyncExternalStackFrame

Parameters
TypeName
WaaS.Runtime.AsyncExternalFunctionfunction
System.ReadOnlySpan<WaaS.Runtime.StackValueItem>inputValues

Implements