RxSwift/RxBlocking
Krunoslav Zaher a2348cef2a
Release 4.4.1
2019-02-09 16:32:42 +01:00
..
Platform Fix deprecated atomic APIs. 2018-10-31 09:06:56 +01:00
BlockingObservable.swift Removes RX_NO_MODULE. 2017-11-04 18:53:02 +01:00
BlockingObservable+Operators.swift syntactic_sugar: Fix missing usage of syntactic sugar for array/dictionary 2019-01-30 20:19:57 +01:00
Info.plist Release 4.4.1 2019-02-09 16:32:42 +01:00
ObservableConvertibleType+Blocking.swift Removes RX_NO_MODULE. 2017-11-04 18:53:02 +01:00
README.md Added materialize result examples to README 2017-08-23 01:08:36 +02:00
Resources.swift Removes unnecessary import Foundation statements. 2017-01-29 03:05:26 +01:00
RunLoopLock.swift Merge branch 'LucianoPAlmeida-no-sanitize-thread-atomic' into merge_luciano 2019-01-31 14:37:09 +01:00

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 -> E? {}
}

extension BlockingObservable {
    public func last() throws -> E? {}
}

extension BlockingObservable {
    public func single() throws -> E? {}
    public func single(_ predicate: @escaping (E) throws -> Bool) throws -> E? {}
}

extension BlockingObservable {
    public func materialize() -> MaterializedSequenceResult<E>
}