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