acquireRelease behavior
Hi, I'm trying to figure out how to wrap an effect in a (db) transaction.
Effect.acquireRelease seemed a good candidate but I'm not sure to get how it behaves.
Here's a (very raw) test I did :
`
to my surprise the test fails with 21 != 22 which means that acquire has only be called once. not sure why.
(it returns an expected 11 if only ran once)
Effect.acquireRelease seemed a good candidate but I'm not sure to get how it behaves.
Here's a (very raw) test I did :
`
to my surprise the test fails with 21 != 22 which means that acquire has only be called once. not sure why.
(it returns an expected 11 if only ran once)
