Home / node / GlideClient / namespaces / GlideClientConfiguration / interfaces / PubSubSubscriptions @valkey/valkey-glide
@valkey/valkey-glide / GlideClient / GlideClientConfiguration / PubSubSubscriptions
Interface: PubSubSubscriptions
Properties
callback()?
optionalcallback: (msg,context) =>void
Optional callback to accept the incoming messages.
Parameters
msg
context
any
Returns
void
channelsAndPatterns
channelsAndPatterns:
Partial\<Record\<PubSubChannelModes,Set\<string>>>
Channels and patterns by modes.
context?
optionalcontext:any
Arbitrary context to pass to the callback.