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
A frequent case is to have an additional environment on your ZIO monad, e.g.: `ZIO[ZEnv with Connection, E, A]`.
256
256
All methods mentioned above will carry over the additional environment:
257
257
```scala
@@ -339,7 +339,7 @@ To provide a `Connection` to the ZIO stream, you can either consume the stream i
339
339
340
340
The methods `transactionOrDieStream` and `autoCommitStream` work in the same way as the similar, non-stream method.
341
341
Note that for transactions, only the `OrDie` variant exists: this is because ZIO's acquire-release mechanism for stream does not allow to pass errors that occur during the acquire-release phase in the error channel.
342
-
Defects in the stream due to connection errors can only be caught after the `ZStream` has been consumed into a `ZIO`.
342
+
Defects in the stream due to connection errors can only be caught after the `ZStream` has been consumed into a `ZIO`.
0 commit comments