示例#1
0
        static async void TransmitEvents()
        {
            while (!cancellationToken.Token.IsCancellationRequested)
            {
                await _server.BroadcastMessage();

                await Task.Delay(TRANSMIT_DELAY_MS);
            }
        }