mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +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 Task
|
||||
|
Reference in New Issue
Block a user