Package dev.restate.sdk
Interface WorkflowContext
- All Superinterfaces:
Context,ObjectContext,SharedObjectContext,SharedWorkflowContext
This interface can be used only within workflow handlers of workflow. It extends
Context
adding access to the workflow instance key-value state storage and to the DurablePromise
API.
NOTE: This interface MUST NOT be accessed concurrently since it can lead to different orderings of user actions, corrupting the execution of the invocation.
- See Also:
-
Method Summary
Methods inherited from interface dev.restate.sdk.Context
awakeable, awakeable, awakeableHandle, call, invocationHandle, invocationHandle, invocationHandle, random, request, run, run, run, run, run, run, run, run, run, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, send, send, sleep, timer, timerMethods inherited from interface dev.restate.sdk.ObjectContext
clear, clearAll, setMethods inherited from interface dev.restate.sdk.SharedObjectContext
get, key, stateKeysMethods inherited from interface dev.restate.sdk.SharedWorkflowContext
promise, promiseHandle