Using Effect to Simplify Running Effects within AsyncLocalStorage
Question! I'm interested in using effect to wrap a AsyncLocalStorage instance so I can simplify running effects within it's context. Specifically, I wanted to do something like:
But I'm unsure how it's possible to "run" the effects that "use" the resource within the callback... Thoughts?
But I'm unsure how it's possible to "run" the effects that "use" the resource within the callback... Thoughts?
