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)
Sync.recv(channel) -> int
Dequeue the oldest value.
let ch = Sync.channel() Sync.send(ch, 42) let v = Sync.recv(ch)