module Ably::Modules::SafeDeferrable

SafeDeferrable module provides an EventMachine::Deferrable interface to the object it is included in and is safe to use for for public interfaces of this client library. Any exceptions raised in the success or failure callbacks are caught and logged to logger

An exception in a callback provided by a developer should not break this client library and stop further execution of code.

@note this Module requires that the method logger is available

See www.rubydoc.info/gems/eventmachine/1.0.7/EventMachine/Deferrable