Sha256: 24fcd91331a0ae4f74f4a55a8ff9f796ebd5449f417ae0ff2721144fd2063e09
Contents?: true
Size: 547 Bytes
Versions: 26
Compression:
Stored size: 547 Bytes
Contents
module Ably::Util # SafeDeferrable class provides a Deferrable that 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 the provided logger. # # An exception in a callback provided by a developer should not break this client library # and stop further execution of code. # class SafeDeferrable include Ably::Modules::SafeDeferrable attr_reader :logger def initialize(logger) @logger = logger end end end
Version data entries
26 entries across 26 versions & 2 rubygems