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
There is already a Flow#orElse operator, but we need another one but for Sink. and ZIO has a ZSink.orElse too, which will switch to another sink incase of failure/cancel.
I think we can just add something like that sink#orElse(secondary: Graph[SinkShape]).
Result:
An out box of fallback kind thing is covered. I have not check the FS2, but ZIO has this out of box, otherwise ,and an end user you will need to write 100+ lines of code I think.
The text was updated successfully, but these errors were encountered:
Motivation:
refs: #980
There is already a
Flow#orElse
operator, but we need another one but forSink
. and ZIO has aZSink.orElse
too, which will switch to another sink incase of failure/cancel.I think we can just add something like that
sink#orElse(secondary: Graph[SinkShape])
.Result:
An out box of fallback kind thing is covered. I have not check the FS2, but ZIO has this out of box, otherwise ,and an end user you will need to write 100+ lines of code I think.
The text was updated successfully, but these errors were encountered: