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 first argument to process-wait .
mailbox-read
process-wait
mailbox-empty-p mailbox-peek mailbox-send make-mailbox