files/en-us/web/javascript/reference/global_objects/asyncdisposablestack/index.md
The AsyncDisposableStack object represents a stack of async disposers to run when the stack itself is disposed. Disposer functions are executed in reverse order of registration, with strong error handling guarantees. Calling its move() method will transfer responsibility for calling the current registered disposers to a new AsyncDisposableStack and prevent registering any additional disposers.
See {{jsxref("DisposableStack")}} for general information about using disposable stacks.
AsyncDisposableStack object.These properties are defined on AsyncDisposableStack.prototype and shared by all AsyncDisposableStack instances.
AsyncDisposableStack instances, the initial value is the {{jsxref("AsyncDisposableStack/AsyncDisposableStack", "AsyncDisposableStack")}} constructor.true if the AsyncDisposableStack has been disposed, or false if not.AsyncDisposableStack.prototype[Symbol.toStringTag]
[Symbol.toStringTag] property is the string "AsyncDisposableStack". This property is used in {{jsxref("Object.prototype.toString()")}}.AsyncDisposableStack instance that contains the same disposers as this stack, and then marks this stack as disposed, without calling any disposers.AsyncDisposableStack.prototype[Symbol.asyncDispose]
disposeAsync() method.{{Specifications}}
{{Compat}}
AsyncDisposableStack in core-js