having the same boundaries or extent in space, time, or meaning.
How Does It Work?
Coterminous achieves fusion by transparently tracking and serializing function references, promises, subscriptions, Dates, RegExps, and all the basic types too. It will even handle graphs with cycles without so much as a hiccup. For most intents and purposes the two sides behave as if the other side were right there executing locally. Technically speaking, you don’t even need to limit yourself to two contexts. Once you’ve connected two contexts, you can keep connecting more and more, as many as you need. Coterminous can fuse any number of contexts and they will all behave as if acting as one single context.
Under the hood, Coterminous requires one thing; a reliable transport mechanism. You must provide and maintain the message passing channel, though you can use any technology you desire to do so. You could use sockets, rest calls, ajax, message ports, local storage, flash APIs, you could even use a USB stick and pass messages back and forth by hand. Coterminous then handles all the handshaking, serializing, deserializing, proxy creation and maintenance. All of this done transparently behind the scenes so that you can focus more on the business logic of what you need to do, rather than spending time forcing things into tubes.
Want to take Coterminous for a spin? You can read more and try it out here.