module EmFarcall
As the eventmachine callback paradigm is completely different from the threaded paradigm of the Farcall
, that runs pretty well under JRuby and in multithreaded MRI, we provide compatible but different implementations: {EmFarcall::Endpoint}, {EmFarcall::Interface} and {EmFarcall::Provider}. Changes to adapt these are minimal except of the callback paradigm. The rest is the same.
The eventmachine is not a required dependency, to use EmFarcall
place eventmachine before requiring farcall:
require 'eventmachine' require 'farcall'