Interface SharedWorkflowContext

  • All Superinterfaces:
    Context, SharedObjectContext
    All Known Subinterfaces:
    WorkflowContext

    public interface SharedWorkflowContext
    extends SharedObjectContext
    This interface can be used only within shared 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:
    Context, SharedObjectContext