1.1.0 • Published 7 years ago

callbag-proxy v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

callbag-proxy

Callbag proxy useful for solving circular dependencies between sources.

const proxy = makeProxy();

// later

proxy.connect(sourceToProxy);

npm install callbag-proxy

example

const makeProxy = require('callbag-proxy');

const sourceB_proxy = makeProxy();

const sourceA = /* code involving sourceB_proxy */

const sourceB = /* code involving sourceA */

sourceB_proxy.connect(sourceB);
1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago