module Cinch
  # @api private
  class Callback
    include Helpers

    # @return [Bot]
    attr_reader :bot
    def initialize(bot)
      @bot = bot
    end

    # (see Bot#synchronize)
    def synchronize(*args, &block)
      @bot.synchronize(*args, &block)
    end
  end
end
