mp:
process-all-events
processes the events in the mailbox (the event queue) of the current process.
If you use your own classes to represent events in the mailbox of a process, you can add specific handling via
mp:
general-handle-event
.