Reads the next object in a mailbox.
mp
mailbox-read mailbox &optional wait-reason => object
mailbox
A mailbox
wait-reason
A string
object
Any object
The mailbox-read function returns the next object from the mailbox. If the mailbox is empty, this function blocks until an object is placed in the mailbox. The wait-reason is used as the argument to mp:process-wait .
mailbox-read
mp:process-wait
mailbox-empty-p mailbox-peek mailbox-send make-mailbox