summaryrefslogtreecommitdiff
path: root/modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs')
-rw-r--r--modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs b/modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs
new file mode 100644
index 0000000000..0397957d00
--- /dev/null
+++ b/modules/mono/glue/Managed/Files/Interfaces/IAwaitable.cs
@@ -0,0 +1,12 @@
+namespace Godot
+{
+ public interface IAwaitable
+ {
+ IAwaiter GetAwaiter();
+ }
+
+ public interface IAwaitable<out TResult>
+ {
+ IAwaiter<TResult> GetAwaiter();
+ }
+}