Skip to content

Fix chaining with pure javascript async func#8

Open
d3m3vilurr wants to merge 4 commits intoduereg:masterfrom
d3m3vilurr:fix-async-func
Open

Fix chaining with pure javascript async func#8
d3m3vilurr wants to merge 4 commits intoduereg:masterfrom
d3m3vilurr:fix-async-func

Conversation

@d3m3vilurr
Copy link
Contributor

  • support async function

    if we use the babel for it, async function should transpiled to GenerateFunction.
    but async function occurs the TypeError;

    TypeError: this.that[key].promise.apply is not a function
    
  • support class method

    finding class method should do more complex calculation than Object.keys
    to fetch methods of super class.

d3m3vilurr and others added 4 commits January 3, 2020 14:42
```
TypeError: this.that[key].promise.apply is not a function
 at Object.async (src/songbird.coffee:52:26)
 at Context.<anonymous> (test/songbird.spec.js:15:23)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments