Skip to content

IAsyncStack

Defined in: packages/data/src/stack/iasync-stack.ts:11

The async-backed sibling of IStack. No IAsyncBlockingStack: every async-backed method already returns a Promise, so the sync world’s “throw vs. await” split collapses to one Promise<void> shape — a separate blocking sibling would be a redundant, identical type.

T extends DefinedValue = DefinedValue

[asyncIterator](): AsyncIterator<T, any, any>

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es2018.asynciterable.d.ts:36

AsyncIterator<T, any, any>

IAsyncCollection.[asyncIterator]


clear(signal?): Promise<void>

Defined in: packages/data/src/collection/iasync-collection.ts:16

AbortSignal

Promise<void>

IAsyncCollection.clear


count(signal?): Promise<number>

Defined in: packages/data/src/collection/iasync-collection.ts:14

AbortSignal

Promise<number>

IAsyncCollection.count


pop(signal?): Promise<T | undefined>

Defined in: packages/data/src/stack/iasync-stack.ts:18

AbortSignal

Promise<T | undefined>


push(item, signal?): Promise<void>

Defined in: packages/data/src/stack/iasync-stack.ts:14

T

AbortSignal

Promise<void>


pushAll(items, signal?): Promise<void>

Defined in: packages/data/src/stack/iasync-stack.ts:16

Iterable<T>

AbortSignal

Promise<void>


top(signal?): Promise<T | undefined>

Defined in: packages/data/src/stack/iasync-stack.ts:20

AbortSignal

Promise<T | undefined>