StreamPosition
@rotorsoft/act-root / act/src / StreamPosition
Type Alias: StreamPosition
StreamPosition =
object
Defined in: libs/act/src/types/ports.ts:91
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:94
Last processed event id watermark (-1 for fresh streams)
blocked
readonlyblocked:boolean
Defined in: libs/act/src/types/ports.ts:96
True when the stream is blocked by a poison message
error
readonlyerror:string
Defined in: libs/act/src/types/ports.ts:97
Last error message (empty string when none)
leased_by?
readonlyoptionalleased_by?:string
Defined in: libs/act/src/types/ports.ts:98
Current lease holder UUID (when leased)
leased_until?
readonlyoptionalleased_until?:Date
Defined in: libs/act/src/types/ports.ts:99
Lease expiration timestamp (when leased)
retry
readonlyretry:number
Defined in: libs/act/src/types/ports.ts:95
Current retry counter
source?
readonlyoptionalsource?:string
Defined in: libs/act/src/types/ports.ts:93
Optional source stream filter (for reactions)
stream
readonlystream:string
Defined in: libs/act/src/types/ports.ts:92
The subscription target (projection or reaction stream)