Skip to content

Commit 540b4f2

Browse files
Remove note about attaching
1 parent ec43f1c commit 540b4f2

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

temporal-sdk/src/main/java/io/temporal/nexus/WorkflowRunOperation.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,8 @@
2222

2323
import io.nexusrpc.handler.*;
2424
import io.nexusrpc.handler.OperationHandler;
25-
import io.temporal.api.enums.v1.WorkflowIdConflictPolicy;
26-
import io.temporal.client.WorkflowOptions;
2725

28-
/**
29-
* WorkflowRunOperation can be used to map a workflow run to a Nexus operation
30-
*
31-
* <h3>Pre-release feature: Attaching multiple Nexus callers to an underlying handler Workflow:</h3>
32-
*
33-
* <p>{@link WorkflowOptions#getWorkflowIdConflictPolicy()} is by default set to fail if a workflow
34-
* is already running. That is, if a caller executes another operation that starts the same
35-
* workflow, it will fail. You can set it to {@link
36-
* WorkflowIdConflictPolicy#WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING} to attach the caller's
37-
* callback to the existing running workflow. This way, all attached callers will be notified when
38-
* the workflow completes.
39-
*/
26+
/** WorkflowRunOperation can be used to map a workflow run to a Nexus operation */
4027
public final class WorkflowRunOperation {
4128
/**
4229
* Maps a workflow method to an {@link io.nexusrpc.handler.OperationHandler}.

0 commit comments

Comments
 (0)