DelayedMessageBox.get

Try to pop a message from the mailbox.

The messages aren

class DelayedMessageBox
bool
get
(
Duration timeout
,
const SysTime clock
,)

Parameters

timeout Duration

max time to wait for a message to arrive.

clock SysTime

retrieve the first message that are delayed until this clock

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