You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only keep awaits sequential when a later call genuinely uses an earlier result, or when the ordering is deliberate (rate-limited batches, retry loops, write-then-read).
92
92
93
+
## Carry exact lifecycle ownership across async boundaries
94
+
95
+
When asynchronous work can outlive an execution, session, or resource instance, capture its
96
+
opaque ownership token before the first `await` and pass that exact token through completion and
97
+
error cleanup. Never re-adopt the current owner from delayed cleanup: a replacement may now own
98
+
the same scope. End the lifecycle by exact-token match, and clear shared state only when that end
99
+
succeeds. Current-owner adoption is reserved for synchronous user actions that explicitly stop
100
+
the current lifecycle.
101
+
93
102
## Prefetch dynamic destination lists on intent
94
103
95
104
For long lists of dynamic destinations, do not viewport-prefetch every row and do not assume
0 commit comments