constructor (options = {}) {
    // Enable object mode as EventSourceStream emits objects of shape
    // EventSourceStreamEvent
    options.readableObjectMode = true

    super(options)

    this.state = options.eventSourceSettings || {}
    if (options.push) {
      this.push = options.push
    }
  }
@param {object} options
@param {boolean} [options.readableObjectMode]
@param {eventSourceSettings} [options.eventSourceSettings]
@param {(chunk: any, encoding?: BufferEncoding | undefined) => boolean} [options.push]