Stopping Http.Server Programmatically
Given the following example of using
https://github.com/Effect-TS/platform/blob/main/packages/platform-node/examples/http-server.ts
I'm looking for something similar to Express'
Would I need to write a different version of
Http.Server, what would I need to change to programatically stop Http.Server?https://github.com/Effect-TS/platform/blob/main/packages/platform-node/examples/http-server.ts
I'm looking for something similar to Express'
Server.close() methodWould I need to write a different version of
runMain that returns an Effect that I could run to stop the server?