Made appropriate protocol extensions public.
This commit is contained in:
parent
4e55302856
commit
2fccded6d7
|
@ -122,7 +122,7 @@ public protocol ColdSignalType: SignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ColdSignalType {
|
public extension ColdSignalType {
|
||||||
|
|
||||||
/// Invokes the closure provided upon initialization, and passes in a newly
|
/// Invokes the closure provided upon initialization, and passes in a newly
|
||||||
/// created observer to which events can be sent.
|
/// created observer to which events can be sent.
|
||||||
|
@ -139,7 +139,7 @@ extension ColdSignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ColdSignalType {
|
public extension ColdSignalType {
|
||||||
|
|
||||||
/// Creates a ColdSignal, adds exactly one observer, and then immediately
|
/// Creates a ColdSignal, adds exactly one observer, and then immediately
|
||||||
/// invokes start on the ColdSignal.
|
/// invokes start on the ColdSignal.
|
||||||
|
@ -199,7 +199,7 @@ extension ColdSignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ColdSignalType {
|
public extension ColdSignalType {
|
||||||
|
|
||||||
/// Creates a new `ColdSignal` which will apply a unary operator directly to events
|
/// Creates a new `ColdSignal` which will apply a unary operator directly to events
|
||||||
/// produced by the `startHandler`.
|
/// produced by the `startHandler`.
|
||||||
|
|
|
@ -92,7 +92,7 @@ public protocol SpecialSignalGenerator {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension SpecialSignalGenerator {
|
public extension SpecialSignalGenerator {
|
||||||
|
|
||||||
/// Creates a Signal that will immediately send one value
|
/// Creates a Signal that will immediately send one value
|
||||||
/// then complete.
|
/// then complete.
|
||||||
|
@ -180,7 +180,7 @@ internal protocol InternalSignalType: SignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension InternalSignalType {
|
internal extension InternalSignalType {
|
||||||
|
|
||||||
/// Interrupts all observers and terminates the stream.
|
/// Interrupts all observers and terminates the stream.
|
||||||
func interrupt() {
|
func interrupt() {
|
||||||
|
@ -191,7 +191,7 @@ extension InternalSignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension SignalType {
|
public extension SignalType {
|
||||||
|
|
||||||
/// Convenience override for add(observer:) to allow trailing-closure style
|
/// Convenience override for add(observer:) to allow trailing-closure style
|
||||||
/// invocations.
|
/// invocations.
|
||||||
|
@ -247,7 +247,7 @@ extension SignalType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension SignalType {
|
public extension SignalType {
|
||||||
|
|
||||||
public var identity: Signal<Value, ErrorType> {
|
public var identity: Signal<Value, ErrorType> {
|
||||||
return self.map { $0 }
|
return self.map { $0 }
|
||||||
|
|
Loading…
Reference in New Issue