mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-04 05:57:23 +03:00
Update function comment for asSignal
functions
Previously, these `asSignal` functions had comments which were saying they were returning `Driver`s. This is not correct. Just updating the comments.
This commit is contained in:
parent
e567ac3a38
commit
3b5dc508ec
@ -24,9 +24,9 @@ extension ObservableConvertibleType {
|
||||
}
|
||||
|
||||
/**
|
||||
Converts observable sequence to `Driver` trait.
|
||||
Converts observable sequence to `Signal` trait.
|
||||
|
||||
- parameter onErrorDriveWith: Driver that continues to drive the sequence in case of error.
|
||||
- parameter onErrorSignalWith: Signal that continues to emit the sequence in case of error.
|
||||
- returns: Signal trait.
|
||||
*/
|
||||
public func asSignal(onErrorSignalWith: Signal<Element>) -> Signal<Element> {
|
||||
@ -40,9 +40,9 @@ extension ObservableConvertibleType {
|
||||
}
|
||||
|
||||
/**
|
||||
Converts observable sequence to `Driver` trait.
|
||||
Converts observable sequence to `Signal` trait.
|
||||
|
||||
- parameter onErrorRecover: Calculates driver that continues to drive the sequence in case of error.
|
||||
- parameter onErrorRecover: Calculates signal that continues to emit the sequence in case of error.
|
||||
- returns: Signal trait.
|
||||
*/
|
||||
public func asSignal(onErrorRecover: @escaping (_ error: Swift.Error) -> Signal<Element>) -> Signal<Element> {
|
||||
|
Loading…
Reference in New Issue
Block a user