Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for AsyncDisposableStack.prototype.use().
Developer library 6
AsyncDisposableStack
The AsyncDisposableStack object represents a stack of async disposers to run when the stack itself is disposed. Disposer functions are executed in reverse order …
AsyncDisposableStack.prototype[Symbol.asyncDispose]()
The Symbol.asyncDispose method of AsyncDisposableStack instances implements the async disposable protocol and allows it to be disposed when used with await using. It …
AsyncDisposableStack.prototype.defer()
The defer() method of AsyncDisposableStack instances takes a callback function to be called and awaited when the stack is disposed.
AsyncDisposableStack.prototype.disposed
The disposed accessor property of AsyncDisposableStack instances returns a boolean indicating whether or not this AsyncDisposableStack has been disposed or moved by doing any …
AsyncDisposableStack.prototype.adopt()
The adopt() method of AsyncDisposableStack instances registers a value that doesn't implement the async disposable protocol to the stack by providing a custom …
AsyncDisposableStack.prototype.use()
The use() method of AsyncDisposableStack instances registers a value that implements the async disposable protocol to the stack.