temporalio.contrib.workflow_streams.WorkflowStreamState
class documentation

class WorkflowStreamState: (source)

View In Hierarchy

Serializable snapshot of stream state for continue-as-new.

Warning

This class is experimental and may change in future versions.

The containing workflow input must type the field as WorkflowStreamState | None, not Any, so the default data converter can reconstruct the dataclass from JSON.

Log items use the wire representation for serialization stability.

base_offset: int = (source)

Undocumented

log: list[_WorkflowStreamWireItem] = (source)

Undocumented

Undocumented