Create a layer effectfully
I'm using
I would like to use the
Used in combination, This would allow me to get an
I've attempted using
NodeHttpServer.layer to create a layer, this method can accept an optional port parameter.I would like to use the
portfinder library to first identify a free port for this param. Portfinder has a getPortPromise method that I can trivially wrap in an effect.Used in combination, This would allow me to get an
Effect<Layer<...>>, but I just need a straight LayerI've attempted using
Layer.unwrapEffect, but when I tried this approach the web service within my application isn't started. How should I be doing it instead?