interaction-kit icon indicating copy to clipboard operation
interaction-kit copied to clipboard

Revisit Application.handler flow

Open IanMitchell opened this issue 3 years ago • 0 comments

It's convoluted, and it isn't clear that it needs to be. There was a lot of thrash during the Request/Response rewrite that might have shook out in a way where we can clean it up. It currently works, but is ugly.

  • Can we drop the return new Promise code and move to full async?
  • Do we need respond as a callback?

I suspect now that we're threading through Request and not FetchEvent, we can find some improvements

IanMitchell avatar May 20 '22 21:05 IanMitchell