public override IEnumerable <Event> Execute(SimulationEnvironment environment) { while (true) { yield return(environment.Timeout(TimeSpan.FromSeconds(1))); } }
public override IEnumerable <Event> Execute(SimulationEnvironment environment) { yield return(environment.Timeout(_delay)); }