IAwaiter.cs 323 B

123456789101112131415161718
  1. using System.Runtime.CompilerServices;
  2. namespace Godot
  3. {
  4. public interface IAwaiter : INotifyCompletion
  5. {
  6. bool IsCompleted { get; }
  7. void GetResult();
  8. }
  9. public interface IAwaiter<out TResult> : INotifyCompletion
  10. {
  11. bool IsCompleted { get; }
  12. TResult GetResult();
  13. }
  14. }