wrapChannel

abstract suspend fun wrapChannel(channelId: ChannelId): SerializedService<T>

Takes a given channel id and creates a service wrapper to make calls on that channel.

Generally this shouldn't be called directly, as services returned from KsMethods will automatically be wrapped before being returned from stubs.