std.channel

Mpmc channels.

Types

type Sender a = Sender a

type Receiver a = Sender a

Values

let channel : forall a . a -> { sender : Sender a, receiver : Receiver a }

let recv : forall a . Receiver a -> std.types.Result () a

let send : forall a . Sender a -> a -> std.types.Result () ()