Close all owned resources, including pending preparation, with one completion.
Register a resource before asynchronous preparation can be interrupted.
Admit new allocation only after prior retirement succeeded and ownership is open.
Withdraw one registered resource; repeat requests do not repeat retirement.
Refuse preparation or publication after this resource owner was closed.
Await all actual attempts, preserving failed entries for every later caller.
Observe an idempotent retirement once while pending or failed. Successful entries are removed; the supplied operation owns memoization if a caller registers that completed operation again.
Retain the actual pending and failed retirements of one resource owner. Successful attempts leave the scope; failed attempts retain both the original cause and their resource-closing function, keeping uncertain ownership alive. Requests made while settlement is pending are included before it can finish.
Tracking observes rejection immediately, without declaring it successful or issuing a second attempt. Settlement reports the stored causes; it neither retries failed physical retirement nor authorizes replacing a borrowed GPU context. Preview preparation uses it before allocating another cache.