{ $description "Blocks the thread if the mailbox is empty, otherwise removes all objects in the mailbox and returns an array containing the objects." } ;\r
\r
HELP: while-mailbox-empty\r
-{ $values { "mailbox" mailbox }\r
- { "quot" { $quotation "( -- )" } }\r
+{ $values { "mailbox" mailbox }\r
+ { "quot" { $quotation ( -- ) } }\r
}\r
{ $description "Repeatedly call the quotation while there are no items in the mailbox." } ;\r
\r
HELP: mailbox-get?\r
-{ $values { "mailbox" mailbox }\r
- { "pred" { $quotation "( obj -- ? )" } }\r
+{ $values { "mailbox" mailbox }\r
+ { "pred" { $quotation ( obj -- ? ) } }\r
{ "obj" object }\r
}\r
{ $description "Get the first item in the mailbox which satisfies the predicate. When the predicate returns true that item will be returned. If nothing in the mailbox satisfies the predicate then the thread will block until something does." } ;\r