-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine an array of signals into one #3158
Comments
|
@andersio But I want to preserve the ordering of the original array of signalProducers in the combined signalProducer. |
@andersio I write it currently like
but it looks ugly |
You can use the concatenation strategy instead, which would enforce the order. However, you should note that the starting of producer would be serialised too. If you need them to happen in parallel, you might need to use
|
@andersio I'm sorry I didn't quit get it. Can you illustrate the |
|
Hi,
I have an array of network requests signalProducers and each outputs a string and I would like to combine them into one signalProducer which output an array of string (convert
[SignalProducer<String, NSError>]
intoSignalProducer<[String], NSError>
)I searched and found
combineLatest
, but it results in a tuple. Is there any way to make it an array ? Thanks in advance.The text was updated successfully, but these errors were encountered: