tryReceive abstract method
Reads one value from the channel. Returns null or onClose
if the channel
has no value and it is closed.
Implementation
Future<T?> tryReceive({T? onClose});
Reads one value from the channel. Returns null or onClose
if the channel
has no value and it is closed.
Future<T?> tryReceive({T? onClose});