public static async Task Main()

in Sample-Code-Snippets/dotnet/EventHubs-Emulator-Demo/EventHubs-Emulator-Demo/Program.cs [15:28]


    public static async Task Main(string[] args)
    {
        //Sends a batch of events to the event hub
        await Send();

        //Receives events from the event hub
        await Recieve();

        //Receives the same events from the event hub using an event processor
        await CreateCheckpointBlobForTests(checkpointBlobContainer);
        await ReceiveWithEventProcessor();
        
        Console.ReadKey();
    }