public void Done(AsyncCommand cmd) { commands.Remove(cmd); if (running < maximumSimultaneous) { Start(); } }
public void Add(AsyncCommand cmd) { commands.Add(cmd); if (running < maximumSimultaneous) { Start(); } }