你的位置: 码友网首页 / 资讯源列表 / await false & await true

关于[await false & await true]的摘要:

waitables are the types on which await can be called. It happens due to “duck typing” – the only thing which makes type “awaitable” is an existence of the GetAwaiter() method that returns type implementing INotifyCompletion interface. That’s it.

原文地址: https://tooslowexception.com/await-false-await-true/

收录时间: 2020-06-11 浏览量: 1791 分类: C#开发

| 0 收藏 | 0