Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to async/await #58

Merged
merged 14 commits into from Apr 24, 2019

Conversation

Projects
None yet
2 participants
@chafilin
Copy link
Contributor

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
Show resolved Hide resolved server.js Outdated
@ai

This comment has been minimized.

Copy link
Member

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 Apr 24, 2019

@chafilin

This comment has been minimized.

Copy link
Contributor Author

commented Apr 24, 2019

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

@ai

This comment has been minimized.

Copy link
Member

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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ai ai referenced this pull request Apr 24, 2019

Closed

Use async/await #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.