Runs every pending message to completion. Handlers waiting in awaitSignal count as settled.
awaitSignal