Page 1 of 1

async/await (.Net 4.5) in a script node

Posted: 19 Jun 2014, 10:19
by plkmarudny
As if it is unrecognized... Is this supported?

Tomasz

Re: async/await (.Net 4.5) in a script node

Posted: 19 Jun 2014, 10:57
by Karol
Oh! :(
This is a problem of the Script Editor!
But your code will be compiled and runs if you have namespace 'System.Threading.Tasks' included.

We have to update the Script Editor and its IntelliSense.

Best Regards
Karol

Re: async/await (.Net 4.5) in a script node

Posted: 19 Jun 2014, 16:31
by plkmarudny
Indeed, it compiles... Thank you.

Re: async/await (.Net 4.5) in a script node

Posted: 05 Sep 2014, 13:02
by Eric_RD
A little hint:
Although there are errors like "Semicolon expected" and "Syntax error" displayed in the debug section
and there are red underlines in the lines that contain "await" or "async",
compiling and running works!
Took me a few minutes to find out ;)