inferChannel(event: MatchableEvent): Channel | undefined| Name | Type | Description |
|---|---|---|
event* | MatchableEvent | Event whose method should be mapped to a channel. |
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
subscribers. The custom method resolves to the named custom:<name>
channel when the payload carries a name, otherwise the bare custom
channel. Both "input" and the wire-level "input.requested" map to the
input channel.