Skip to content

Commit 69dfe5a

Browse files
authored
Updated the docs for IdReusePolicy property (#397)
1 parent b5ca854 commit 69dfe5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Temporalio/Client/WorkflowOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public WorkflowOptions(string id, string taskQueue)
7373
public TimeSpan? TaskTimeout { get; set; }
7474

7575
/// <summary>
76-
/// Gets or sets how already-existing IDs are treated. Default is
77-
/// <see cref="WorkflowIdReusePolicy.AllowDuplicate" />.
76+
/// Gets or sets whether to allow re-using a workflow ID from a previously *closed* workflow.
77+
/// Default is <see cref="WorkflowIdReusePolicy.AllowDuplicate" />.
7878
/// </summary>
7979
public WorkflowIdReusePolicy IdReusePolicy { get; set; } = WorkflowIdReusePolicy.AllowDuplicate;
8080

src/Temporalio/Workflows/ChildWorkflowOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ public class ChildWorkflowOptions : ICloneable
7777
public TimeSpan? TaskTimeout { get; set; }
7878

7979
/// <summary>
80-
/// Gets or sets how already-existing IDs are treated. Default is
81-
/// <see cref="WorkflowIdReusePolicy.AllowDuplicate" />.
80+
/// Gets or sets whether to allow re-using a workflow ID from a previously *closed* workflow.
81+
/// Default is <see cref="WorkflowIdReusePolicy.AllowDuplicate" />.
8282
/// </summary>
8383
public WorkflowIdReusePolicy IdReusePolicy { get; set; } = WorkflowIdReusePolicy.AllowDuplicate;
8484

0 commit comments

Comments
 (0)