We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb046a commit d49f6bcCopy full SHA for d49f6bc
RxController/Classes/RxControllerEvent.swift
@@ -59,7 +59,7 @@ public struct RxControllerEvent {
59
extension ObservableType where Element == RxControllerEvent {
60
61
public func value<T>(of identifier: RxControllerEvent.Identifier, type: T.Type = T.self) -> Observable<T?> {
62
- return observeOn(MainScheduler.asyncInstance).filter {
+ return observe(on: MainScheduler.asyncInstance).filter {
63
$0.identifier.id == identifier.id
64
}.map {
65
$0.value as? T
0 commit comments