Skip to main content

Interface: NexusOperationHandle<T>

workflow.NexusOperationHandle

A handle to a Nexus Operation.

Nexus support in Temporal SDK is experimental.

Type parameters

Name
T

Properties

operation

Readonly operation: string

The name of the Operation.


service

Readonly service: string

The Operation's service name.


token

Optional Readonly 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>