You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix the double evaluation in myIOTxBoundary.finishTx
Applies the suggestions in scalikejdbc/scalikejdbc#1105
* Make myIOTxBoundary.closeConnection exception-safe
It really should be, because the `result` is actually the execution
(contents of localTx) itself plus finishTx.
* Fix a deprecated syntax
scalac-2.13.3 complains it
* Remove the extraneous type parameter
I believe the A refers to the `type A`, not the param `[A]`.
* Add Cats Effect IO example
* Apply rewording suggestions from code review
Co-authored-by: Kazuhiro Sera <[email protected]>
* Apply formatting suggestions from code review
Co-authored-by: Kazuhiro Sera <[email protected]>
* Remove leading `#` of the titles
* Revert title changes
Co-authored-by: Kazuhiro Sera <[email protected]>
*TxBoundary typeclass instance for cats.effect.IO[A]*
231
+
232
+
`cats.effect.IO` offers two ways to handle completion/cancellation as below. You can use `guaranteeCase` for commit/rollback operations while going with `guarantee` for connection closure.
0 commit comments