API Reference › Sync › Sync.send
method

Sync.send

Sync.send(channel, value) -> bool

Enqueue a value (false if full).

Example

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