All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.restate.sdk.WorkflowContext Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
// Copyright (c) 2023 - Restate Software, Inc., Restate GmbH
//
// This file is part of the Restate Java SDK,
// which is released under the MIT license.
//
// You can find a copy of the license in file LICENSE in the root
// directory of this repository or package, or at
// https://github.com/restatedev/sdk-java/blob/main/LICENSE
package dev.restate.sdk;

/**
 * This interface can be used only within workflow handlers of workflow. It extends {@link Context}
 * adding access to the workflow instance key-value state storage and to the {@link 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 Context * @see ObjectContext */ public interface WorkflowContext extends SharedWorkflowContext, ObjectContext {}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy