Filter an observable using values from another observable
You can use withLatestFrom. . source.withLatestFrom(checkboxes, (data, checkbox) => ({data, checkbox})) .filter(({data, checkbox}) => …) Here, checkboxes is an observable representing a list of checkbox inputs. source is an observable representing a stream of events coming from the server. In the filter function you can check if the data is valid compared to the checkbox … Read more