code: function Recovery(options) {
        var recovery = this;
  
        if (!(recovery instanceof Recovery)) return new Recovery(options);
  
        options = options || {};
  
        recovery.attempt = null;        // Stores the current reconnect attempt.
        recovery._fn = null;            // Stores the callback.
  
        recovery['reconnect timeout'] = defaults('reconnect timeout', recovery, options);
        recovery.retries = defaults('retries', recovery, options);
        recovery.factor = defaults('factor', recovery, options);
        recovery.max = defaults('max', recovery, options);
        recovery.min = defaults('min', recovery, options);
        recovery.timers = new Tick(recovery);
      }
docs: Attempt to recover your connection with reconnection attempt.
  
  @constructor
  @param {Object} options Configuration
  @api public