Function Channel.tryConsumeOne
Attempts to consume a single element.
bool tryConsumeOne
(
ref T dst
);
bool tryConsumeOne
(
ref T dst
) shared;
If no more elements are available and the channel has been closed,
false
is returned and dst
is left untouched.