summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/IAwaitable.cs
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-02 23:24:00 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-03 00:01:26 +0200
commite36fb95c50ce0cd0ab9621afe668332895712c2e (patch)
tree5f146ad19fa9364c66fae002b0210a6a967b5e6e /modules/mono/glue/cs_files/IAwaitable.cs
parent29b44801b2e9693c5d19d3e4fbb708af367c4904 (diff)
Added mono module
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();
+ }
+}