hxasync
hxasync copied to clipboard
This library allows you to add "async" and "await" keywords in Python and JavaScript code almost the same way you would do it in the native code.
Hello, I'm using haxe to develop a tool project recently, I'm having some trouble with js.lib.promise syntax, after looking up related solutions in the community, I found haxelib hxasync, but...
Would it possible to do so that when `@async` is used with a function, its type is change, so if `@await` is not used when calling the function type checking...
string interpolation is not handled: var a = 'asd ${@await someAyncFunction()}';
My code: ``` @async private function myAsyncFuncReturningVoid(): Void { // do something // line 244 is here } @async private function test() { @await this.myAsyncFuncReturningVoid(); // line 264 is here...