How to write an IAsyncEnumerable function so that cleanup code always executes

后端 未结 0 1613
别那么骄傲
别那么骄傲 2021-02-01 06:45

My IAsyncEnumerable function must run its cleanup code regardless of whether the enumerator it returns is disposed of correctly. In the example below, I\'v

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