WithSubscriptionId extension type

A "mixin"-like extension type for any message on a subscriptions/listen stream that carries a MetaWithSubscriptionId at the key "_meta".

Should be "mixed in" by implementing this type from other extension types.

This type is not intended to be constructed directly and thus has no public constructor.

on
Implementers

Properties

meta → MetaWithSubscriptionId
The metadata this message carries, including the subscriptionId.
no setter
subscriptionId → RequestId
The JSON-RPC ID of the SubscriptionsListenRequest which opened the stream this message belongs to.
no setter