Enum in task compiler

ChannelError

enum ChannelError
Import
use task::{ChannelError};
Source: compiler/src/prelude/task.hy

Why a channel operation failed.

Variants#

Closed#

The channel was closed (and, for recv, every value has been taken).

Empty#

try_recv on an empty channel.

Full#

try_send on a full channel.

See also#

  • TaskError: Why a task or a scope did not produce its value.
↑ ↓ navigate ↵ open