Skip to content

Conversation

@clive819
Copy link

@clive819clive819 commented Jul 30, 2024

Post: https://forums.swift.org/t/pitch-map-error/75422

Pretty much the same as Combine.Publisher.mapError but for AsyncSequence.

This enables you to do something like this:

letsequence= myAsyncSequence.mapError{MyGenericError(wrappedError: $0)}

@clive819clive819 marked this pull request as ready for review July 30, 2024 02:41
Copy link
Member

@phauslerphausler left a comment

Choose a reason for hiding this comment

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

This needs a pitch document and post.

@clive819clive819 changed the title Implement AsyncMapErrorSequenceIntroduce mapError functionNov 2, 2024
@clive819clive819 mentioned this pull request Nov 2, 2024
Sign up for freeto 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.

3 participants

@clive819@phausler@FranzBusch