AtSchedule
@horizon-republic/nestjs-jetstream
@horizon-republic/nestjs-jetstream / AtSchedule
AtSchedule
Defined in: src/interfaces/schedule.interface.ts:54
A schedule that fires once, at at. For delays longer than the events
stream keeps messages, which scheduleAt() cannot outlive. Client API only.
Properties
at
at:
Date
Defined in: src/interfaces/schedule.interface.ts:55
data?
optionaldata?:unknown
Defined in: src/interfaces/schedule.interface.ts:61
Payload the tick carries, encoded with the connection codec.
ttlSeconds?
optionalttlSeconds?:number
Defined in: src/interfaces/schedule.interface.ts:58
How long the tick stays in the stream unconsumed, in whole seconds. Default: no limit.