Adam Fraser
Adam Fraser
It may be easier to do this with `serviceAt`. But yes I think resolving the issue around opaque types in general would allow you to do this if you want.
Yeah I think that should be possible in user land once the more general issue with opaque types is resolved.
Will take a look. `zipPar` does run the two sinks in parallel which has some overhead but that behavior was the same in ZIO 1.0 and ZIO 2.0 so conceptually...
@anovstrup Okay, so you have a custom implementation that sends the elements to both sinks but runs the sinks sequentially instead of in parallel. I could definitely see the overhead...
@anovstrup Got it. Thanks!
Will take a look.
Do you have a small reproducer?
That is definitely an interesting idea! My main concern is that people hate adding type annotations except where they absolutely have to. In addition, there are many cases where a...
This is not a binary compatible change but I don't think it is a bad idea for ZIO 3. It still does have the problem that many cases of value...
@robmwalsh Yes I think this is definitely going in the right direction. And creating a helper method like you did within `FiberRuntime` definitely makes sense. Maybe we can create a...