Interface Invocation

interface Invocation {
    abortControllers: AbortController[];
    abortSignals: AbortSignal[];
    callbacks: Map<string, CallbackFunction>;
    children: Map<string, Invocation>;
    parents: string[];
    result: DeferredPromise<any>;
    scope: string;
}

Properties

abortControllers: AbortController[]

Used on the server side to hold abort controllers that will be aborted if the client sends an abort message

abortSignals: AbortSignal[]

Used on the client side to store abort signals that will cause an abort message to be sent

callbacks: Map<string, CallbackFunction>

Holds references to any callback functions passed as arguments

children: Map<string, Invocation>

Any ongoing invocations of callbacks during the main method execution

parents: string[]

Scopes of parent invocations

result: DeferredPromise<any>

The result of the execution

scope: string

The scope of this invocation