(self)
return got
Receive a value from the channel.
        Receiving will always block if no value is available.
        If the channel is already closed,
        :class:`goless.ChannelClosed` will be raised.
        If the channel closes during a blocking ``recv``,
        :class:`goless.ChannelClosed` will be raised. (#TODO)
Receive a value from the channel.
        Receiving will always block if no value is available.
        If the channel is already closed,
        :class:`goless.ChannelClosed` will be raised.
        If the channel closes during a blocking ``recv``,
        :class:`goless.ChannelClosed` will be raised. (#TODO)
Receive a value from the channel . Receiving will always block if no value is available . If the channel is already closed : class : goless . ChannelClosed will be raised . If the channel closes during a blocking recv : class : goless . ChannelClosed will be raised . ( #TODO )
def recv(self):
        """
        Receive a value from the channel.
        Receiving will always block if no value is available.
        If the channel is already closed,
        :class:`goless.ChannelClosed` will be raised.
        If the channel closes during a blocking ``recv``,
        :class:`goless.ChannelClosed` will be raised. (#TODO)
        """
        if self._closed and not self.recv_ready():
            raise ChannelClosed()
        got = self._recv()
        return got
def recv ( self ) : if self . _closed and not self . recv_ready ( ) : raise ChannelClosed ( ) got = self . _recv ( ) return got