scope
scope copied to clipboard
【BUG】ScopeUtils.supplyAsyncWithCurrentScope method can't pass Scope params
When I use this method(ScopeUtils.supplyAsyncWithCurrentScope ) to pass Scope to a new thread, i find it doesn't work.
This method does not pass the Scope of the current thread correctly. The main reason is that Scope.getCurrentScope() is written in a lamda expression, so it is executed in a new thread.
After simple rewriting, the scope can be passed correctly~
hope some updates~~