2015-07-12 19:44:56 +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.***
|
|
|
|
|
|
|
|
|
|
|
|
```swift
|
2015-09-08 23:32:09 +03:00
|
|
|
extension ObservableType {
|
|
|
|
public func toArray() throws -> [E] {}
|
|
|
|
}
|
2015-07-12 19:44:56 +03:00
|
|
|
|
2015-09-08 23:32:09 +03:00
|
|
|
extension ObservableType {
|
|
|
|
public func first() throws -> E? {}
|
|
|
|
}
|
2015-07-12 19:44:56 +03:00
|
|
|
|
2015-09-08 23:32:09 +03:00
|
|
|
extension ObservableType {
|
|
|
|
public func last() throws -> E? {}
|
|
|
|
}
|
2015-07-12 19:44:56 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|