private static async Task Main(string[] args) { LogProvider.SetCurrentLogProvider(new ConsoleLogProvider()); ISchedulerFactory factory = new StdSchedulerFactory(); var processor = new TaskProcessor(await factory.GetScheduler()); await processor.Run(); }
public TaskProcessor(IScheduler schedule) { this.schedule = schedule; Instance = this; }