Open cynamonium opened 8 years ago
@istarkov - can you help?
@cynamonium I think you can define it like this (taken from createFetchProcess.spec.js
):
const combineDelegators = (...delegators) => (actions, store) =>
Observable.merge(...(delegators.map((delegator) => delegator(actions, store))));
not sure if you should though
...since it has no
combineDelegators
method - i'm trying to use your code but it's not working with the latest version ofredux-observable