RxSwift/RxBlocking
2020-10-06 20:36:28 +03:00
..
Platform Fix deprecated atomic APIs. 2018-10-31 09:06:56 +01:00
BlockingObservable.swift Update E to Element in RxBlocking 2019-04-23 14:24:43 +02:00
BlockingObservable+Operators.swift Remove all unneeded single-line returns 2020-10-06 20:36:28 +03:00
Info.plist Set CFBundleShortVersionString to 6.0.0 2020-10-06 20:36:28 +03:00
ObservableConvertibleType+Blocking.swift Remove all unneeded single-line returns 2020-10-06 20:36:28 +03:00
README.md Update E to Element in RxBlocking 2019-04-23 14:24:43 +02:00
Resources.swift Remove composeMap test 2020-02-08 18:33:29 +02:00
RunLoopLock.swift Fix linux 2020-10-06 20:36:28 +03: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 -> 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>
}