cross-tab-worker-databus 0.20.14 → 0.20.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1885,7 +1885,7 @@ var CrossTabDataBus = class _CrossTabDataBus {
1885
1885
  const now = this.now();
1886
1886
  if (now - this.lastRecoveryAt >= _CrossTabDataBus.RECOVERY_COOLDOWN_MS) {
1887
1887
  this.lastRecoveryAt = now;
1888
- this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: 1 });
1888
+ this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: 1, outcome: "scheduled" });
1889
1889
  setTimeout(() => {
1890
1890
  if (this.stopping || !this.started || this.suspended) return;
1891
1891
  if (this.status !== "error") return;
@@ -1992,9 +1992,12 @@ var CrossTabDataBus = class _CrossTabDataBus {
1992
1992
  this.startPromise = opening;
1993
1993
  void opening.then(
1994
1994
  () => {
1995
+ this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: 1, outcome: "succeeded" });
1995
1996
  if (this.startPromise === opening) this.startPromise = null;
1996
1997
  },
1997
- () => void 0
1998
+ () => {
1999
+ this.trace.event({ type: "reliability", operation: "transport_recovery", attempt: 1, outcome: "failed" });
2000
+ }
1998
2001
  );
1999
2002
  void opening.catch(() => void 0);
2000
2003
  return opening;