19 lines
281 B
C#
19 lines
281 B
C#
|
using System.Runtime.CompilerServices;
|
||
|
|
||
|
namespace Godot
|
||
|
{
|
||
|
public interface IAwaiter : INotifyCompletion
|
||
|
{
|
||
|
bool IsCompleted { get; }
|
||
|
|
||
|
void GetResult();
|
||
|
}
|
||
|
|
||
|
public interface IAwaiter<out TResult> : INotifyCompletion
|
||
|
{
|
||
|
bool IsCompleted { get; }
|
||
|
|
||
|
TResult GetResult();
|
||
|
}
|
||
|
}
|