Skip to content

feat: add AnyAsyncThrowingSequece, to differentiate from regular one#4

Open
AmadeusK525 wants to merge 2 commits into
vsanthanam:mainfrom
profusion:main
Open

feat: add AnyAsyncThrowingSequece, to differentiate from regular one#4
AmadeusK525 wants to merge 2 commits into
vsanthanam:mainfrom
profusion:main

Conversation

@AmadeusK525

Copy link
Copy Markdown

This makes things easier when dealing with infinite sequences (like values from a Combine Publisher)

This makes things easier when dealing with infinite sequences (like
values from a Combine Publisher)

/// Create a type erased version of this sequence
/// - Returns: The sequence, wrapped in an `AnyAsyncThrowingSequence`
func eraseToAnyAsyncThrowingSequence() -> AnyAsyncThrowingSequence<Element> where {

@robbiehanson robbiehanson Nov 10, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Complier issue: -> AnyAsyncThrowingSequence<Element> where {

Just remove the where ?

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