C# (CSharp) Lawo.Threading.Tasks AsyncPump - 2개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 Lawo.Threading.Tasks.AsyncPump에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
Represents a pump that runs an asynchronous method and all its continuations on the current thread.
Some asynchronous methods expect that all its continuations are executed on the same thread. If such code needs to be run in an environment where this is not guaranteed (SynchronizationContext.Current is either null or is a SynchronizationContext object that schedules continuations on different threads as under ASP.NET) then this class can be used to force execution on a single thread.