Closed Gongcu closed 7 months ago
Currently, only BehaviorRelay has asDriver(), so I added the same operator to PublishRelay.
BehaviorRelay
asDriver()
PublishRelay
BehaviorRelay+Driver.swift
https://github.com/ReactiveX/RxSwift/pull/2160 https://github.com/ReactiveX/RxSwift/pull/1769
Currently, only
BehaviorRelay
hasasDriver()
, so I added the same operator toPublishRelay
.BehaviorRelay+Driver.swift