constructor(options = {}) {
    const opts = options;
    if (opts.scoped == null) { opts.scoped = true; }
    if (typeof opts.caching !== 'boolean') {
      opts.caching = false;
    }
    super(opts);

    const baseOptions = this.options;
    this.options = /** @type {PortOptions} */ (baseOptions);

    /** @type {Object<string, IP>} */
    this.cache = {};
  }
@param {PortOptions} options - Options for the outport