Stop waiting (Task.Delay(-1)) after event was invoked

前端 未结 0 609
悲&欢浪女
悲&欢浪女 2020-12-21 06:55

I have code like this

public async Task DoStuff()
{
    _client.Ready += () => client_Ready("test");

    await Task.Delay(-1);
}

private async          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题