recv abstract method
Attempts to wait for a value on this receiver, returning Err
of:
DisconnectedError if the Sender called close
and the buffer is empty.
OtherError if the item in the buffer is an error, indicated by the sender calling addError
.
Implementation
Future<Result<T, RecvError>> recv();