JsContinuation Struct

  • Obsolete: Types with embedded references are not supported in this version of your compiler.

A handler created by the engine for a promise reaction (e.g. the continuation of an await), which the host calls from JsHost.CallContinuation to restore the state it captured with JsHost.MakeContinuationHostDefined.

[Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
public readonly ref struct JsContinuation

Methods

NameDescription
Invoke()Runs the handler.

Invoke()

JsJob.cs

Runs the handler.

public void Invoke()