* Finds the summary file path from the environment, rejects if env var is not found or file does not exist * Also checks r/w permissions. * * @returns step summary file path
()
| 19561 | return __async(this, null, function* () { |
| 19562 | if (__privateGet(this, _readyState) === CLOSED) |
| 19563 | return; |
| 19564 | __privateSet(this, _readyState, CONNECTING); |
| 19565 | this.dispatchEvent(new Event("error")); |
| 19566 | yield delay(__privateGet(this, _state).reconnectionTime); |
| 19567 | if (__privateGet(this, _readyState) !== CONNECTING) |
| 19568 | return; |
| 19569 | if (__privateGet(this, _state).lastEventId.length) { |
| 19570 | __privateGet(this, _request).headersList.set("last-event-id", __privateGet(this, _state).lastEventId, true); |
| 19571 | } |
| 19572 | __privateMethod(this, _connect, connect_fn).call(this); |
| 19573 | }); |
| 19574 | }; |
| 19575 | var EventSource = _EventSource; |
| 19576 | var constantsPropertyDescriptors = { |
| 19577 | CONNECTING: { |
| 19578 | __proto__: null, |
| 19579 | configurable: false, |
| 19580 | enumerable: true, |
| 19581 | value: CONNECTING, |
| 19582 | writable: false |
| 19583 | }, |