Skip to content

Commit c23d1b7

Browse files
committed
docs(daemon): name the exits that clear the stabilization record
1 parent 206d61c commit c23d1b7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/daemon/deferred-interaction-outcome.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,9 @@ export async function capturePostGestureStabilizedResult<T>(params: {
325325
return { value: params.initial ?? (await capture()) };
326326
}
327327

328-
// Entering the loop consumes the record: it is cleared however the loop leaves, settle, timeout
329-
// or a capture that threw, so a later capture on the session never pays this gesture's loop again.
328+
// Entering the loop consumes the record. It is cleared on every exit: a settled surface, the
329+
// stabilization timeout, or a capture that threw. A later capture on the session never pays this
330+
// gesture's loop again.
330331
try {
331332
return await runPostGestureStabilityLoop({
332333
pending: {

0 commit comments

Comments
 (0)