AckeeCZ / ACKReactiveExtensions

Set of useful extensions for ReactiveSwift & ReactiveCocoa
MIT License
17 stars 4 forks source link

Add helper for merging signals/producers #20

Closed josefdolezal closed 6 years ago

josefdolezal commented 6 years ago

Adds simple helper for merging Signals/SignalProducers:

let a: SignalProducer<Void, NoError> = /* .. */
let b: SignalProducer<Void, NoError> = /* .. */

// Use this:
let c = a.merge(with: b)

// Instead of:
let d = SignalProducer.merge([a, b])