Interface InvocationHandle<Res>

Type Parameters:
Res - Response type

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

    • invocationId Link icon

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

      void cancel()
      Cancel this invocation.
    • attach Link icon

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

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