refactor: fix App.prototype.handler() return type #2908
Conversation
marvinhagemeister
left a comment
There was a problem hiding this comment.
I don't think we should leak this edge case to users. There is no other scenario that I'm aware of where the returned function could return a Response synchronously. We shouldn't expose that internal to users. Did you find more scenarios in which that could happen?
No, although middlewares allow both |
|
Closing as we're not going to land this. |
No description provided.