haxetink / tink_await

Haxe async/await
MIT License
58 stars 15 forks source link

Warning : use Future.irreversible() - or better yet: new Future() #40

Closed sonygod closed 3 years ago

sonygod commented 4 years ago

Warning : use Future.irreversible() - or better yet: new Future()

@async
function test() {

    var p =cast  @await getUserInfo(12, "", null);

}

image

image

how to improve code and fixed that Warning?

AdrianV commented 3 years ago

yes please - currently I remove the warning from tink because output is full of this warning and readability in VSCode is awful

Jens-G commented 2 years ago

Great! Any possibility to get that released to haxelib? Just asking, keep up the good work!