disconnectFrom(idOrAdapter) {
    const { adapters } = this;
    let adapterId = idOrAdapter;

    if (typeof idOrAdapter === 'function') {
      adapterId = idOrAdapter.id;
    }

    if (adapters.has(adapterId)) {
      adapters.get(adapterId).disconnect();
      adapters.delete(adapterId);
    }
  }
@param {String|Function} idOrAdapter
@public
@memberof Polly