mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
34 lines
704 B
C#
34 lines
704 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace ET
|
|
{
|
|
[AsyncMethodBuilder(typeof (AsyncETTaskCompletedMethodBuilder))]
|
|
public struct ETTaskCompleted: ICriticalNotifyCompletion
|
|
{
|
|
[DebuggerHidden]
|
|
public ETTaskCompleted GetAwaiter()
|
|
{
|
|
return this;
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public bool IsCompleted => true;
|
|
|
|
[DebuggerHidden]
|
|
public void GetResult()
|
|
{
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public void OnCompleted(Action continuation)
|
|
{
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public void UnsafeOnCompleted(Action continuation)
|
|
{
|
|
}
|
|
}
|
|
} |