Const
Provides a BaseRealtime instance with the ability to filter channel subscriptions at runtime using the overload of subscribe() that accepts a MessageFilter.
subscribe()
MessageFilter
To create a client that includes this plugin, include it in the client options that you pass to the constructor:
import { BaseRealtime, WebSocketTransport, FetchRequest, MessageInteractions } from 'ably/modular';const realtime = new BaseRealtime({ ...options, plugins: { WebSocketTransport, FetchRequest, MessageInteractions } }); Copy
import { BaseRealtime, WebSocketTransport, FetchRequest, MessageInteractions } from 'ably/modular';const realtime = new BaseRealtime({ ...options, plugins: { WebSocketTransport, FetchRequest, MessageInteractions } });
If you do not provide this plugin, then attempting to use this overload of subscribe() will cause a runtime error.
Generated using TypeDoc
Provides a BaseRealtime instance with the ability to filter channel subscriptions at runtime using the overload of
subscribe()
that accepts aMessageFilter
.To create a client that includes this plugin, include it in the client options that you pass to the constructor:
If you do not provide this plugin, then attempting to use this overload of
subscribe()
will cause a runtime error.