Skip to content

krawaller/callbag-proxy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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