Remote / foldkit-remote
heldForHistory
function · packages/remote/src/retain.ts:340
function heldForHistory(
history: NavigationHistory,
connections: Readonly<Record<string, Connection>>,
identity: string,
): booleanWhether a list left is held for the history navigation that came back to it: unchanged since it was left, and the latest navigation since then is one through history. Retention ends the hold, by its window, once a Surface shows the list again.