ReactiveX / RxCpp

Reactive Extensions for C++
Apache License 2.0
3.05k stars 395 forks source link

Support for And/Then/When (Pattern/Plan)? #426

Closed djleach-belcan closed 6 years ago

djleach-belcan commented 6 years ago

Is there support for the And/Then/When operators described here? If not, is equivalent functionality possible? Thanks.

kirkshoop commented 6 years ago

Looking at the docs, I think this is covered by the zip operator in rxcpp. zip uses variadic templates to combine an arbitrary number of streams without needing and. the result is an observable, so no need for then or when

is there a use case that is not supported by zip?

djleach-belcan commented 6 years ago

Ah, I see that now, thanks. No use case I can think of yet that isn't supported; I wanted to see what was available first before trying to solve my problem and noticed those were missing.