more() continues with the returned
cursor; the answer replaces the whole prefix, re-read at the same revisions
under current authority. A refresh of any compared branch ends the cursor:
start again. Framework-free: bind it with useSyncExternalStore.
Constructors
constructor
• new BranchComparisonController(call, request)
Parameters
Methods
getSnapshot
▸ getSnapshot():BranchComparisonState
Returns
BranchComparisonState
subscribe
▸ subscribe(listener): () => void
Parameters
Returns
fn
▸ (): void
Returns
void
more
▸ more():Promise<void>
Read the next page of every unfinished side.
Returns
Promise<void>
restart
▸ restart():Promise<void>
Start again at fresh head revisions.
Returns
Promise<void>