Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@kyri-petrou
Copy link
Contributor

@kyri-petrou kyri-petrou commented Dec 22, 2025

These are used in flatMap and catchAllCause.

Also changes the visibility of these methods to the stream package. We could make them simply private but that wouldn't be binary compatible

@kyri-petrou kyri-petrou enabled auto-merge (squash) December 22, 2025 07:05
): Any => ZChannel[Any, Any, Any, Any, Nothing, Nothing, Any] =
ZChannel.succeedNow(_)
private[this] val SuccessIdentity: Any => ZChannel[Any, Any, Any, Any, Nothing, Nothing, Any] =
ZChannel.succeedNow(_)(Trace.empty)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be best to instantiate the class directly.

@kyri-petrou kyri-petrou merged commit e134ee4 into zio:series/2.x Dec 22, 2025
20 checks passed
@kyri-petrou kyri-petrou deleted the cache-channel-identity-functions branch December 22, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants