Module: Ably::Modules::SafeYield Private
- Included in:
- , , , ,
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
this Module requires that the method #logger is available
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.