module Ably::Modules::SafeYield

SafeYield provides the method safe_yield that will yield to the consumer who provided a block, however any exceptions will be caught, logged, and operation of the client library will continue.

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

@api private