Integrating a Fetch-Based Handler with an HttpServer in Effect Typescript

What's the best way to use a fetch-based handler (i.e. (req: Request) => Promise<Response>) inside an HttpServer? I see a bunch of apis for going the other way (Platform handler -> fetch handler, HttpServerRequest -> Request, HttpServerResponse -> Response)
Was this page helpful?