Skip to content

Refactor to async/await#58

Merged
ai merged 14 commits intologux:masterfrom
chafilin:master
Apr 24, 2019
Merged

Refactor to async/await#58
ai merged 14 commits intologux:masterfrom
chafilin:master

Conversation

@chafilin
Copy link
Copy Markdown
Contributor

@chafilin chafilin commented Apr 24, 2019

Issue #55

  1. Changed all .then constuctions to async/await. Except base-server.js and filter method in server-client.js
  2. Did't touch force-promise, because after refactoring whole code it will be useless
  3. Don't know how to refactor promisify and retrurn new Promise with wrapping callback

@ai
Copy link
Copy Markdown
Member

ai commented Apr 24, 2019

We can do it separated PR. Let’s merge this PR if it passes tests. And then we will continue discussing other Promise parts in #55.

@ai ai marked this pull request as ready for review April 24, 2019 16:29
@chafilin
Copy link
Copy Markdown
Contributor Author

@ai Can you help, please? It fails on jsdoc step

@ai
Copy link
Copy Markdown
Member

ai commented Apr 24, 2019

It is recent JSDoc + Node.js 12 compatibility problem. I created the issue. Replace node to "11" in .travis.yml.

@ai ai merged commit b47dccd into logux:master Apr 24, 2019
@ai ai mentioned this pull request Apr 24, 2019
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.

2 participants