mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
35 lines
764 B
C#
35 lines
764 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace TEngine
|
|
{
|
|
[AsyncMethodBuilder(typeof(AsyncFTaskCompletedMethodBuilder))]
|
|
[StructLayout(LayoutKind.Auto)]
|
|
public struct FTaskCompleted : INotifyCompletion
|
|
{
|
|
[DebuggerHidden]
|
|
public FTaskCompleted GetAwaiter()
|
|
{
|
|
return this;
|
|
}
|
|
|
|
[DebuggerHidden] public bool IsCompleted => true;
|
|
|
|
[DebuggerHidden]
|
|
public void GetResult()
|
|
{
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public void OnCompleted(Action continuation)
|
|
{
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
public void UnsafeOnCompleted(Action continuation)
|
|
{
|
|
}
|
|
}
|
|
} |