asChannelOrNull

open suspend fun asChannelOrNull(): Channel?(source)

Requests to get this behavior as a Channel, returns null if the channel isn't present.

Throws

if something went wrong during the request.