GitHub

ShardState

API reference for ShardState.

What a shard needs to resume: the session, where to resume it and the sequence of the last dispatch handled.

Attributes

AttributeTypeDescription
session_idstr
resume_urlstr
sequenceint | None

Functions

__init__

__init__(session_id, resume_url, sequence) -> None
ParameterTypeDescription
session_idstr
resume_urlstr
sequenceint | None