RuntimeContext: {
    isRoomReadyAtom: Atom<boolean>;
    isServerAtom: Atom<boolean>;
}

Per-transport runtime state. Built once per addSyncTransport rather than at module scope on purpose: several transports (each with its own isServerFn) coexist in one process in the tests, and they must not share a role.

Type declaration

  • isRoomReadyAtom: Atom<boolean>
  • isServerAtom: Atom<boolean>