Table of Contents

Class WorkflowStreamItem<T>

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

A decoded, strongly typed Workflow Streams subscription item.

public sealed record WorkflowStreamItem<T> : IEquatable<WorkflowStreamItem<T>>

Type Parameters

T

Type of the decoded value.

Inheritance
WorkflowStreamItem<T>
Implements
Inherited Members

Remarks

WARNING: Workflow Streams is experimental and may change.

Constructors

WorkflowStreamItem(string, T, long)

A decoded, strongly typed Workflow Streams subscription item.

public WorkflowStreamItem(string Topic, T Value, long Offset)

Parameters

Topic string

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

Value T

The decoded value.

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

Topic

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

public string Topic { get; init; }

Property Value

string

Value

The decoded value.

public T Value { get; init; }

Property Value

T