Table of Contents

Class WorkflowStreamItem

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

A decoded item yielded by a Workflow Streams subscription.

public sealed record WorkflowStreamItem : IEquatable<WorkflowStreamItem>
Inheritance
WorkflowStreamItem
Implements
Inherited Members

Remarks

WARNING: Workflow Streams is experimental and may change.

Constructors

WorkflowStreamItem(string, Payload, long)

A decoded item yielded by a Workflow Streams subscription.

public WorkflowStreamItem(string Topic, Payload Payload, long Offset)

Parameters

Topic string

The item's topic, or an empty string for no topic.

Payload Payload

The raw Temporal payload.

Offset long

The item's global offset.

Remarks

WARNING: Workflow Streams is experimental and may change.

Properties

Offset

The item's global offset.

public long Offset { get; init; }

Property Value

long

Payload

The raw Temporal payload.

public Payload Payload { get; init; }

Property Value

Payload

Topic

The item's topic, or an empty string for no topic.

public string Topic { get; init; }

Property Value

string