mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-04 22:17:41 +03:00
.. | ||
Platform | ||
BlockingObservable.swift | ||
BlockingObservable+Operators.swift | ||
Info.plist | ||
ObservableConvertibleType+Blocking.swift | ||
README.md | ||
Resources.swift | ||
RunLoopLock.swift |
RxBlocking
Set of blocking operators for easy unit testing.
Don't use these operators in production apps. These operators are only meant for testing purposes.
extension BlockingObservable {
public func toArray() throws -> [E] {}
}
extension BlockingObservable {
public func first() throws -> Element? {}
}
extension BlockingObservable {
public func last() throws -> Element? {}
}
extension BlockingObservable {
public func single() throws -> Element? {}
public func single(_ predicate: @escaping (E) throws -> Bool) throws -> Element? {}
}
extension BlockingObservable {
public func materialize() -> MaterializedSequenceResult<Element>
}