The value of AsyncLocal is not correct when is set from an asynchronous method

前端 未结 0 1755
[愿得一人]
[愿得一人] 2020-11-30 15:54

Why the value of an AsyncLocal field is not preserved when is set from an asynchronous method of a class. Consider this example:

var scope = new          


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