using System; using System.Threading.Tasks; namespace franz.tests { class Program { static async Task Main(string[] args) { Console.WriteLine("Hello World!"); Telefranz.Configure("libfranztest1", "focalor:9092"); var f1Reported = false; Telefranz.Instance.addHandler((r) => { Console.WriteLine($"someone reporting. {r}"); if(r.name =="libfranztest1") { f1Reported = true; Console.WriteLine("f1 reported"); } }); await Task.Delay(1000); Console.WriteLine("done I guess?"); } } }