lib/exchange-machine.js
function() {
      this.handlers.push(topology.on('bindings-completed', () => {
        this.handle('bindings-completed');
      }));
      this.handlers.push(connection.on('reconnected', () => {
        this.transition('reconnecting');
      }));
      this.handlers.push(this.on('failed', (err) => {
        _.each(this.deferred, function(x) {
          x(err);
        });
        this.deferred = [];
      }));
    }
function() {
      this.handlers.push(topology.on('bindings-completed', () => {
        this.handle('bindings-completed');
      }));
      this.handlers.push(connection.on('reconnected', () => {
        this.transition('reconnecting');
      }));
      this.handlers.push(this.on('failed', (err) => {
        _.each(this.deferred, function(x) {
          x(err);
        });
        this.deferred = [];
      }));
    }
function ( ) { this . handlers . push ( topology . on ( 'bindings-completed' , ( ) => { this . handle ( 'bindings-completed' ) ; } ) ) ; this . handlers . push ( connection . on ( 'reconnected' , ( ) => { this . transition ( 'reconnecting' ) ; } ) ) ; this . handlers . push ( this . on ( 'failed' , ( err ) => { _ . each ( this . deferred , function ( x ) { x ( err ) ; } ) ; this . deferred = [ ] ; } ) ) ; }
Listens for events around bindings and reconnecting

@private
@memberOf ExchangeMachine.prototype
Listens for events around bindings and reconnecting