We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Coming out from a discussion in #49, it might be very useful to support async functions as middlewares.
The idea is that we might support middlewares with the following syntax:
export default function() { return { before: async (handler) => { // await async stuff return 'somevalue' // equivalent to calling next(null, 'somevalue') } }; }
The text was updated successfully, but these errors were encountered:
Closed by #51
Sorry, something went wrong.
No branches or pull requests
Coming out from a discussion in #49, it might be very useful to support async functions as middlewares.
The idea is that we might support middlewares with the following syntax:
The text was updated successfully, but these errors were encountered: