ReactiveX / RxSwift

Reactive Programming in Swift
MIT License
24.32k stars 4.17k forks source link

Adds `asDriver()` operator to `PublishRelay` #2575

Closed Gongcu closed 7 months ago

Gongcu commented 7 months ago

Currently, only BehaviorRelay has asDriver(), so I added the same operator to PublishRelay.

BehaviorRelay+Driver.swift

freak4pc commented 7 months ago

https://github.com/ReactiveX/RxSwift/pull/2160 https://github.com/ReactiveX/RxSwift/pull/1769