Providing Transaction Context for Specific Scope
I'm trying to convert Drizzle with Effect TS.
something like:
into
I want to create transaction scope for the pipe, and then release transaction automatically.
perhaps, it needs composing both Layer.scopedContext or Runtime/Fiber?
I would be helpful if you give me a hint or clue.
My last attempt was:
something like:
into
I want to create transaction scope for the pipe, and then release transaction automatically.
perhaps, it needs composing both Layer.scopedContext or Runtime/Fiber?
I would be helpful if you give me a hint or clue.
My last attempt was:
