Package dev.restate.sdk
Interface WorkflowContext
-
- All Superinterfaces:
Context,ObjectContext,SharedObjectContext,SharedWorkflowContext
public interface WorkflowContext extends SharedWorkflowContext, ObjectContext
This interface can be used only within workflow handlers of workflow. It extendsContextadding access to the workflow instance key-value state storage and to theDurablePromiseAPI.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:
Context,ObjectContext
-
-
Method Summary
-
Methods inherited from interface dev.restate.sdk.Context
awakeable, awakeableHandle, call, call, random, request, run, run, run, run, send, send, send, send, sleep, timer
-
Methods inherited from interface dev.restate.sdk.ObjectContext
clear, clearAll, set
-
Methods inherited from interface dev.restate.sdk.SharedObjectContext
get, key, stateKeys
-
Methods inherited from interface dev.restate.sdk.SharedWorkflowContext
promise, promiseHandle
-
-