メインコンテンツまでスキップ

Class ExternalFunctionDelegate

Assembly: WaaS.Core.dll​
View Source​
Declaration
public class ExternalFunctionDelegate : ExternalFunction, IFunction, ISortedExportable, ISorted

Inheritance: System.Object -> WaaS.ComponentModel.Binding.ExternalFunction

Implements:
WaaS.ComponentModel.Runtime.IFunction, WaaS.ComponentModel.Runtime.ISortedExportable, WaaS.ComponentModel.Runtime.ISorted

Properties​

Type​

View Source​
Declaration
public override IFunctionType Type { get; }

Methods​

InvokeAsync(ExecutionContext, Pullable, STaskVoid, STask<ValuePusher>)​

Invokes the host implementation. It is called when the frame of the function is first moved, after all the arguments are pushed, so that <code class="paramref">arguments</code> can be pulled, and <code class="paramref">frameMove</code> and <code class="paramref">resultPusher</code> can be awaited without suspension.

View Source​
Declaration
protected override STaskVoid InvokeAsync(ExecutionContext context, Pullable arguments, STaskVoid frameMove, STask<ValuePusher> resultPusher)
Returns​

STask.STaskVoid

Parameters​
TypeName
WaaS.Runtime.ExecutionContextcontext
WaaS.ComponentModel.Binding.Pullablearguments
STask.STaskVoidframeMove
STask.STask<TResult>resultPusher

Implements​