Skip to content

krawaller/callbag-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published