docs: l'invariant nomme les deux choses que le module enregistre vraiment

L'enonce disait « seulement l'auditeur pose » ; l'enregistrement porte
aussi l'attente bornee. Les deux sont du ressort de la demande, pas du
fait - c'est ce que la phrase doit dire.
This commit is contained in:
Sylvain Duchesne
2026-09-24 13:09:36 +02:00
parent 72b4607cbe
commit 2cf42a244b
@@ -102,9 +102,9 @@ export type SyncState = "syncing" | "synced" | "timed-out";
*
* **"Is this document open in this session" is answered in ONE place - the state of the
* document's one real subscription (`surface/subscribe.ts`, {@link docChannel}) - and this
* module records only the bootstrap listener it TOOK OUT, never whether that listener ever
* became a live channel or crossed a barrier.** So no answer here can outlive the channel
* it describes, because none is kept.
* module records only the bootstrap open it ASKED FOR: the listener it took out and the
* bounded wait around it, never whether that listener became a live channel or crossed a
* barrier.** So no answer here can outlive the channel it describes, because none is kept.
*
* What that replaces, and why each had to go rather than be repaired:
* - a `held` set of "live bootstrap subscriptions". It was written the moment