Table of Contents

Class WorkflowStreamState

Namespace
Temporalio.Extensions.WorkflowStreams
Assembly
Temporalio.Extensions.WorkflowStreams.dll

Serializable Workflow Streams state for continue-as-new.

public sealed class WorkflowStreamState
Inheritance
WorkflowStreamState
Inherited Members

Remarks

WARNING: Workflow Streams is experimental and may change.

Properties

BaseOffset

Gets or sets the global offset represented by the start of Log.

[JsonPropertyName("base_offset")]
public long BaseOffset { get; set; }

Property Value

long

Log

Gets or sets the retained stream log.

[JsonPropertyName("log")]
public IReadOnlyCollection<WorkflowStreamWireItem> Log { get; set; }

Property Value

IReadOnlyCollection<WorkflowStreamWireItem>

PublisherLastSeen

Gets or sets each publisher's last-seen Unix timestamp in seconds.

[JsonPropertyName("publisher_last_seen")]
public IReadOnlyDictionary<string, double> PublisherLastSeen { get; set; }

Property Value

IReadOnlyDictionary<string, double>

PublisherSequences

Gets or sets the most recently observed sequence for each publisher.

[JsonPropertyName("publisher_sequences")]
public IReadOnlyDictionary<string, long> PublisherSequences { get; set; }

Property Value

IReadOnlyDictionary<string, long>