DeliverAt
The DeliverAt module defines the protocol used by cluster message payloads that carry their own scheduled delivery time. A value implements the protocol by exposing a method at the DeliverAt symbol that returns the target DateTime.
Accessors
Guards
isDeliverAt
Added in v4.0.0
Source
Returns true if the value implements the DeliverAt scheduled-delivery protocol.
Signature
declare function isDeliverAt(self: unknown): self is DeliverAt;Models
Symbols
Defines the property key used by values that provide a scheduled delivery time.
When to use
Use to implement the scheduled-delivery protocol on cluster message payloads by defining a method at this property key.
Signature
declare const symbol: "~effect/cluster/DeliverAt";
Returns the scheduled delivery time in epoch milliseconds when the value implements
DeliverAt, ornullotherwise.