Class WorkflowStreamSubscribeOptions
- Namespace
- Temporalio.Extensions.WorkflowStreams
- Assembly
- Temporalio.Extensions.WorkflowStreams.dll
Options for a Workflow Streams subscription.
public class WorkflowStreamSubscribeOptions : ICloneable
- Inheritance
-
WorkflowStreamSubscribeOptions
- Implements
- Inherited Members
Remarks
WARNING: Workflow Streams is experimental and may change.
Properties
FromOffset
Gets or sets the global offset at which the subscription begins.
public long FromOffset { get; set; }
Property Value
PollCooldown
Gets or sets the delay between polls when no page is immediately ready.
public TimeSpan PollCooldown { get; set; }
Property Value
Topics
Gets or sets the topic filter. Empty means all topics.
public IReadOnlyCollection<string> Topics { get; set; }
Property Value
Methods
Clone()
Creates a copy of these options, including the topic collection.
public virtual object Clone()
Returns
- object
A copied options instance.