private static void RandomMessage() { var receiver = new ChatHubReceiver(); receiver.Start(); receiver.JoinOrLeave(); }
private static void RandomMessage() { var receiver = new ChatHubReceiver(); receiver.Start(); receiver.JoinOrLeave(); while (true) { receiver.SendMessage(); Thread.Sleep(400); } }