constructor(transport) {
    super({ objectMode: true });

    if (!transport) {
      throw new Error('RejectionStream requires a TransportStream instance.');
    }

    this.handleRejections = true;
    this.transport = transport;
  }
Constructor function for the RejectionStream responsible for wrapping a
TransportStream; only allowing writes of `info` objects with
`info.rejection` set to true.
@param {!TransportStream} transport - Stream to filter to rejections