API Reference › Sync › Sync.recv
method

Sync.recv

Sync.recv(channel) -> int

Dequeue the oldest value.

Example

let ch = Sync.channel()
Sync.send(ch, 42)
let v = Sync.recv(ch)
← All symbols