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.defer().
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.defer()
The defer() method of AsyncDisposableStack instances takes a callback function to be called and awaited when the stack is disposed.
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.
AsyncDisposableStack.prototype.disposeAsync()
The disposeAsync() method of AsyncDisposableStack instances disposes this stack by calling all disposers registered to it in reverse order of registration, awaiting for each …
DisposableStack
The DisposableStack object represents a stack of disposers to run when the stack itself is disposed. Disposer functions are executed in reverse order of …