AsyncSequence
public extension AsyncSequence
-
Convert an
AsyncSequence
to anObservable
emitting values of the asynchronous sequence’s typeDeclaration
Swift
func asObservable() -> Observable<Element>
Return Value
An
Observable
of the async sequence’s type