private static async void TestWithAsync() { var config = new TimingComponentConfiguration { ServiceName = "Rick's Service", IntervalInMillseconds = 2000, Perform = async() => { Console.WriteLine("Fired"); var t = new TestAsync(); await t.RunAsync(); } }; var timing = new TimingComponent.TimingComponent(config, new ConsoleLogger()); timing.Start(); Console.ReadLine(); }