Effect CommunityEC
Effect Communityβ€’2y agoβ€’
8 replies
fabcstro

Understanding Layer Scope and Singleton Behavior

Hi everyone, how are you?

How does a Layer relate to the effects and mainly, how does its scope work? It seems to be singleton, do you know if there is the possibility of creating a Layer or a ServiceLive only for a request context for example? Open the scope, pass it forward, close the scope.
Was this page helpful?