Providing and Maintaining Singleton Layer Instances in a Program
Hey! I'm learning about the Effect and I'm trying to figure out how to provide services to a program. I want to have a service, that can be used inside other services and inside the program directly. I've checked the layers and services tutorials, but I could not figure out how can I provide a layer to a different one and also keep its instance as singleton. More specifically in this example:
