Maps a protocol event method to its subscription channel.
Returns undefined for unrecognized methods so that new server-side
channels (e.g. from extension transformers) don't break existing clients.
inferChannel(event: Event): Channel | undefined| Name | Type | Description |
|---|---|---|
event* | Event | Event whose method should be mapped to a channel. |