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

Rename use to useLegacy and useAsync to use #27

Closed
atinux opened this issue Jul 22, 2021 · 0 comments
Closed

Rename use to useLegacy and useAsync to use #27

atinux opened this issue Jul 22, 2021 · 0 comments

Comments

@atinux
Copy link
Member

atinux commented Jul 22, 2021

This way, use is directly for async/await which is becoming a standard.

  • use(req, res)
  • useLegacy(req, res, next)
pi0 added a commit that referenced this issue Jul 27, 2021
BREAKING CHANGE: `useAsync` is removed. use `use` instead

resolvess #27
@pi0 pi0 closed this as completed Jul 27, 2021
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

No branches or pull requests

2 participants