Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Factor runMiddleware into method#58

Merged
rekmarks merged 6 commits intomasterfrom
runMiddleware-methods
Jul 27, 2020
Merged

Factor runMiddleware into method#58
rekmarks merged 6 commits intomasterfrom
runMiddleware-methods

Conversation

@rekmarks
Copy link
Copy Markdown
Member

This PR factors the inner function runMiddleware into a class method, _runMiddleware.

There's no real benefit to keeping it as an inner function. end and next are kept as inner functions in _runMiddleware, because they're small, and a bit awkward to factor into class methods.

@rekmarks rekmarks requested a review from a team as a code owner July 27, 2020 05:14
@rekmarks rekmarks mentioned this pull request Jul 27, 2020
Gudahtt
Gudahtt previously approved these changes Jul 27, 2020
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread src/index.js Outdated
@rekmarks rekmarks merged commit d564a23 into master Jul 27, 2020
@rekmarks rekmarks deleted the runMiddleware-methods branch July 27, 2020 21:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants