receive

Receive the next message from this Inbox. This call will return immediately
if the internal actor previously received a message, or it will block for
up to the specified duration to await reception of a message. If no message
is received a TimeoutException will be raised.

Parameters:

max - (undocumented)

Returns:

(undocumented)

Throws:

java.util.concurrent.TimeoutException

receive

Receive the next message from this Inbox. This call will return immediately
if the internal actor previously received a message, or it will block for
up to the specified duration to await reception of a message. If no message
is received a TimeoutException will be raised.