1.1.0 • Published 6 years ago

callbag-proxy v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago