dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump minimist from 1.2.0 to 1.2… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump cached-path-relative from … (compare)
dependabot[bot] on npm_and_yarn
Bump path-parse from 1.0.5 to 1… (compare)
TypeError: sink$.subscribe is not a function
at historyDriver (/home/mvanko/Projects/cycle-blog/node_modules/@cycle/history/lib/makeHistoryDriver.js:97:11)
at Object.routerDriver [as router] (/home/mvanko/Projects/cycle-blog/node_modules/cyclic-router/lib/makeRouterDriver.js:32:20)
function makeMyDriver(lol) {
function myDriver(sink) {
// ...
return source;
}
myDriver.streamAdapter = RxAdapter; // <=== this
return myDriver;
}
function log(from) {
return function () {
console.log(from, arguments);
};
}
const proxy$ = new Rx.Subject();
const value$ = Rx.Observable.just("test");
value$.subscribe(proxy$);
value$.subscribe(log("original"));
proxy$.subscribe(log("proxy"));
value$.subscribe(proxy$);
call in the end