Tear down and drain. The returned promise resolves only once every
in-flight persist has settled, so await dispose() guarantees no further
write from this runtime lands (ADR-009 G2).
Callers that do not await it get the old fire-and-forget behaviour, which
is why the ASO session manager awaits it before opening a replacement.
Tear down and drain. The returned promise resolves only once every in-flight persist has settled, so
await dispose()guarantees no further write from this runtime lands (ADR-009 G2).Callers that do not await it get the old fire-and-forget behaviour, which is why the ASO session manager awaits it before opening a replacement.