Resource Not Released When Using ManagedRuntime in Effect Library
Hello! I'm trying out Effect for the first time
Why isn't my resource being released when I provide it through a
I'm using this to test things out:
And it works:
But I want to create a
Calling the same program this way doesn't release the resource:
I don't see any requirements for a scope at the type level. I'm sure I'm missing something. I just don't know what it is exactly
ManagedRuntime?I'm using this to test things out:
And it works:
But I want to create a
ManagedRuntime that includes all my services to run in my Next.js app.Calling the same program this way doesn't release the resource:
I don't see any requirements for a scope at the type level. I'm sure I'm missing something. I just don't know what it is exactly
