function useLatestOperation<TResult = void, TFailure = never>(): LatestOperationHandle<TResult, TFailure>; Admits only the newest selection, for reads such as "load the selected item": each run(intent) replaces the queued intent and cancels the active read, and the next read starts only after the previous one has finished (including waitForCompletion). The intent carries start, cancel, waitForCompletion and isCurrent, so it may close over the current client. blocked means admission is uncertain; only clear("replace"), after the application has established a fresh session, clears it. Unmounting disposes the controller: pending runs resolve to undefined, but accepted work is never cancelled.
const load = useLatestOperation<Item>();
<li onClick={() => load.run({ start: () => client?.startLoad(id) })}>…</li>
{load.outcome?.ok && <ItemView item={load.outcome.value} />}