Wait

(wait argument) -> varies

For a channel:
Given a channel, wait will return the next item queued in the channel, as for example placed there by send. If the channel is empty, it will monitor that channel until something is available.

For a stream:
As per channels: the stream will normally have channels associated with it.

For a process:
Causes the process to release control of the virtual machine.