Plugin options (heartbeatMs, retryMs); may be undefined
Runtime services (injected from plugin registration)
Optionalbackplane: IRealtimeBackplane
Optional cross-replica transport. When present, every channel publish is also sent to it; when absent, channels stay purely in-process, which is the behavior before the backplane existed.
Optionallogger: ILogger
Optional logger used to report a failed fan-out
Number of channels with members. The registry reclaims a channel's entry when its last member leaves; held handles continue to work by name.
Current number of open connections.
Return a reusable named channel handle; membership is allocated on add.
Delivers a message that arrived from another replica to this replica's local channel members.
Called only by the plugin's backplane subscription. It uses the registry's local-only delivery path, so an arriving message is never re-published — which would echo it around the cluster forever.
Frames of another kind, and frames this instance published itself, are ignored: one backplane topic carries both SSE channels and WebSocket rooms, and a channel may legitimately share a name with a room.
The arriving frame
Open a new SSE connection for the given request context.
Return the named channel when it has members, without creating an entry.
Implements
IService.Since
0.1.0