MessageBox.get

Try to pop a message from the mailbox.

class MessageBox
bool
get
(
Duration timeout
,)

Parameters

timeout Duration

max time to wait for a message to arrive.

msg Message

the retrieved message is written here.

Return Value

Type: bool

true if a message was retrieved and false if not (such as if a timeout occurred).

Meta