-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
PromiseRouter.js
Fosco Marotto edited this page Jan 28, 2016
·
1 revision
A router that is based on promises rather than req/res/next.
This is intended to replace the use of express.Router to handle subsections of the API surface.
This will make it easier to have methods like 'batch' that themselves use our routing information, without disturbing express components that external developers may be modifying.