mailbox-get-all-timeout ( mailbox timeout -- seq )
Mailboxes

Prev:mailbox-get-all ( mailbox -- seq )
Next:mailbox-put ( obj mailbox -- )


Vocabulary
concurrency.mailboxes

Inputs
mailboxa mailbox
timeouta duration or f


Outputs
seqa sequence


Word description
Blocks the thread for timeout if the mailbox is empty, then removes all objects in the mailbox and returns a sequence containing the objects.

Definition