eraseToAnyThrowingAsyncSequenceable

Creates a throwing type erasing async sequence.

AsyncSequence+Extras.swift:62
func eraseToAnyThrowingAsyncSequenceable() -> AnyThrowingAsyncSequenceable<Element> where Self : Sendable

Returns

A typed erased async sequence.

If the async sequence that you wish to type erase deson’t throw, then use eraseToAnyAsyncSequenceable().