chickadee » mailbox » mailbox-wait!

mailbox-wait! MAILBOX #!optional TIMEOUTprocedure

Similar to mailbox-receive!, but does not remove the received result from the queue of pending data.

TIMEOUT is a SRFI-18 time object or the real number of seconds.

Should TIMEOUT be specified and occur a mailbox timeout exception will be signaled for the calling thread.