Interface: NexusOperationHandle<T>
A handle to a Nexus Operation.
Type Parameters
T
T
Properties
operation
readonlyoperation:string
The name of the Operation.
service
readonlyservice:string
The Operation's service name.
token?
readonlyoptionaltoken?: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>