SubscriberCallback
SubscriberCallback<
TPayload> = (envelope) =>void
Defined in: packages/postal/src/channel.ts:160
Callback signature for message subscribers. Receives the full envelope.
Type Parameters
Section titled “Type Parameters”TPayload
Section titled “TPayload”TPayload = unknown
Parameters
Section titled “Parameters”envelope
Section titled “envelope”Envelope<TPayload>
Returns
Section titled “Returns”void