Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose toEffect and fromEffect (#418)
Expose `toEffect` and `fromEffect` as public API. Use case: with `doobie.ConnectionIO` to use `zio` effects in transaction with queries. ```scala for r1 <- selectSomethingForUpdate _ <- log.info(s"selected: $r1").toEffect[ConnectionIO] r2 <- updateSomething(r1) yield r2 ``` > I agree that and `fromEffect` seem generically useful. (c) @adamgfraser
- Loading branch information