Module: EmFarcall

Defined in:
lib/farcall/em_farcall.rb,
lib/farcall/em_wsserver_endpoint.rb

Overview

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: Endpoint, Interface and 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'

Defined Under Namespace

Classes: Endpoint, Interface, Provider, WsServerEndpoint