TransportSendMeta
TransportSendMeta =
object
Defined in: packages/postal/src/transport.ts:27
Metadata passed to Transport.send() by the core.
Transports can use this to make send-time decisions that require context
the transport can’t determine on its own. Currently carries peerCount so
a transport knows whether other transports are also receiving this envelope.
Transports that don’t need this can safely ignore it — the parameter is optional.
Properties
Section titled “Properties”peerCount
Section titled “peerCount”peerCount:
number
Defined in: packages/postal/src/transport.ts:35
Number of transports that passed the filter for this envelope (including the current transport).
A value of 1 means this transport is the sole recipient. A value > 1 means multiple transports are receiving the same envelope.