StreamPosition
@rotorsoft/act-root / act/src / StreamPosition
Type Alias: StreamPosition
StreamPosition =
object
Defined in: libs/act/src/types/ports.ts:137
Subscription position for a registered stream.
Streamed by Store.query_streams to power operational dashboards
(projection lag, blocked subscriptions, in-flight leases). The shape
mirrors what every adapter already tracks on its streams table.
Propertiesโ
atโ
readonlyat:number
Defined in: libs/act/src/types/ports.ts:140
Last processed event id watermark (-1 for fresh streams)
blockedโ
readonlyblocked:boolean
Defined in: libs/act/src/types/ports.ts:142
True when the stream is blocked by a poison message
errorโ
readonlyerror:string
Defined in: libs/act/src/types/ports.ts:143
Last error message (empty string when none)
lane?โ
readonlyoptionallane?:string
Defined in: libs/act/src/types/ports.ts:147
Drain lane bound to the stream (ACT-1103)
leased_by?โ
readonlyoptionalleased_by?:string
Defined in: libs/act/src/types/ports.ts:145
Current lease holder UUID (when leased)
leased_until?โ
readonlyoptionalleased_until?:Date
Defined in: libs/act/src/types/ports.ts:146
Lease expiration timestamp (when leased)
priorityโ
readonlypriority:number
Defined in: libs/act/src/types/ports.ts:144
Scheduling priority (default 0). Biases the
lagging-frontier claim() ordering โ see Store.prioritize.
retryโ
readonlyretry:number
Defined in: libs/act/src/types/ports.ts:141
Current retry counter
source?โ
readonlyoptionalsource?:string
Defined in: libs/act/src/types/ports.ts:139
Optional exact source stream name (for reactions)
streamโ
readonlystream:string
Defined in: libs/act/src/types/ports.ts:138
The subscription target (projection or reaction stream)