Package dev.restate.sdk
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
- Returns:
- the output of this invocation, if present.
-