public bool GetNextCommand(out ScheduledCommand command) => commands.TryPop(out command);
void Add(ScheduledCommand command) { commands.Add(command); }
public bool GetNextCommand(out ScheduledCommand command) => commands.TryPop(out command);
void Add(ScheduledCommand command) { commands.Add(command); }