Skip to main content

Interface: NexusOperationHandle<T>

A handle to a Nexus Operation.

Type Parameters​

T​

T

Properties​

operation​

readonly operation: string

The name of the Operation.


service​

readonly service: string

The Operation's service name.


token?​

readonly optional token?: string

Operation token as set by the Operation's handler. May be empty if the Operation completed synchronously.

Methods​

result()​

result(): Promise<T>

Wait for Operation completion and get its result.

Returns​

Promise<T>