Publish event with payload on channel.
The presence members currently on a channel.
ReadonlynameA human-readable name (e.g. 'memory', 'redis').
Subscribe a local listener to a channel; returns an unsubscribe function.
Fluent form: to(channel).emit(event, payload).
The agnostic broadcaster contract: publish an event to a channel.
The single API the domain touches to emit, on the backend and the frontend alike. On the server it fans out to subscribers; on the client it sends the event up to the server. The concrete effect is resolved by the driver/transport (context).