Creating a Scoped Layer with Global Lifetime
How would one write a scoped layer that lives for the entire duration of the application? I currently have a layer that returns
The documentation doesn't say anything about this.
Layer<EventDB, never, Scope>, but now I can't Effect.provide it to my program because it still has the Scope context requirement.The documentation doesn't say anything about this.
