RxSwift/RxBlocking
2017-09-25 21:17:37 +02:00
..
Platform [Fix] Linux. 2017-01-21 22:05:28 +01:00
BlockingObservable.swift Removes unnecessary import Foundation statements. 2017-01-29 03:05:26 +01:00
BlockingObservable+Operators.swift Fixes typos. 2017-08-23 01:10:00 +02:00
Info.plist Set version in Info.plist to 4.0.0 because of ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '4.0.0-beta.0' in the Info.plist file must be a period-separated list of at most three non-negative integers." 2017-09-25 21:17:37 +02:00
ObservableConvertibleType+Blocking.swift Removes unnecessary import Foundation statements. 2017-01-29 03:05:26 +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 Removes unnecessary import Foundation statements. 2017-01-29 03:05:26 +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>
}