How to correctly run an async thread in a test method?
I have this test that needs to run the RunWebSocket thread to make sure the SendAsync was received by my websocket. This works, but I am getting compiler warning CS4014. Of course, I do not like warnings, so instead of ignoring it, I want to do it "right". [Fact] public async void CabinetTagPushed_ShouldSendBroadcastToWebSocket() { //… Read More How to correctly run an async thread in a test method?