pub fn drain_trading_cmd_queue()Expand description
Drains all buffered trading commands to their direct endpoints.
Deferred children run depth-first before the next command in the collected batch. Commands enqueued by handlers stay queued for a subsequent drain.
ยงPanics
Panics if a command handler panics; pending children and the remaining batch are then dropped.