using System; var pipeServer = new NamedPipes.NamedPipesServer("testPipe",logger:Console.WriteLine); await pipeServer.RunAsync().ConfigureAwait(true);