drainMountInitCmds method

Cmd? drainMountInitCmds()

Drains queued mount-init commands.

Implementation

Cmd? drainMountInitCmds() {
  if (_pendingMountInitCmds.isEmpty) return null;
  final drained = _pendingMountInitCmds.toList();
  _pendingMountInitCmds.clear();
  return _coalesceCommands(drained);
}