mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-12-17 01:30:23 +00:00
AsyncQueue Fix
This commit is contained in:
@@ -45,8 +45,7 @@ namespace Esyur.Core
|
||||
where TAwaiter : INotifyCompletion
|
||||
where TStateMachine : IAsyncStateMachine
|
||||
{
|
||||
Console.WriteLine("AwaitOnCompleted");
|
||||
|
||||
awaiter.OnCompleted(stateMachine.MoveNext);
|
||||
}
|
||||
|
||||
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(
|
||||
@@ -54,8 +53,7 @@ namespace Esyur.Core
|
||||
where TAwaiter : ICriticalNotifyCompletion
|
||||
where TStateMachine : IAsyncStateMachine
|
||||
{
|
||||
Console.WriteLine("AwaitUnsafeOnCompleted");
|
||||
|
||||
awaiter.UnsafeOnCompleted(stateMachine.MoveNext);
|
||||
}
|
||||
|
||||
public AsyncReply<T> Task
|
||||
|
||||
Reference in New Issue
Block a user