Skip to main content

drain_mcp

Function drain_mcp 

Source
fn drain_mcp() -> OnAboutToWait
Expand description

The event-loop behaviour that runs the commands the transport posted.

Running a command needs a mutable world, so each one is queued and applied between two event callbacks. The host answers the world list itself: it is the only one that knows which entities carry a world — a nested one, or a sender to one that runs apart from it.