Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {run, Rx} from '@cycle/core';
- function makeCustomDriver () {
- return (requestProxy, name) => {
- console.log('makeCustomDriver', requestProxy, name);
- const responses = {};
- return responses;
- }
- }
- let drivers = {
- CustomDriver: makeCustomDriver(),
- }
- run(function (responses) {
- console.log(responses);
- const requests = {
- CustomDriver: makeCustomDriver(),
- };
- return requests;
- }, drivers);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement