Thread:receive

Receive a message from a thread. Returns nil when message is not in the queue.

Function

Synopsis

value = Source:receive(name)

Arguments

string name
The name of the message.

Returns

value value
The contents of the message.

See Also