Interface InvocationHandle<Res>

Type Parameters:
Res - Response type

public interface InvocationHandle<Res>
Handle to interact with an invocation.
  • Method Details

    • invocationId

      String invocationId()
      Returns:
      the invocation id of this invocation
    • cancel

      void cancel()
      Cancel this invocation.
    • attach

      DurableFuture<Res> attach()
      Attach to this invocation. This will wait for the invocation to complete
    • getOutput

      Output<Res> getOutput()
      Returns:
      the output of this invocation, if present.