Deferred async operation made easy in JavaScript
Home Page:https://www.npmjs.com/package/dwait
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
rzvxa opened this issue 7 months ago · comments
A simple test like this will fail on the type-checking step.
class A { foo = 1 async addFoo () { this.foo += 1 } } dwait(new A()).addFoo()