Skip to content

IAsyncHeap

Defined in: packages/data/src/heap/iasync-heap.ts:12

The async-backed sibling of IHeap. No IAsyncBlockingHeap: 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. precedes stays synchronous: a pure ordering function over values the caller already holds, not I/O.

T extends DefinedValue = DefinedValue

readonly precedes: OrderPredicate<T>

Defined in: packages/data/src/heap/iasync-heap.ts:15

[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


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

Defined in: packages/data/src/heap/iasync-heap.ts:21

AbortSignal

Promise<T | undefined>


extractAndInsert(item, signal?): Promise<T | undefined>

Defined in: packages/data/src/heap/iasync-heap.ts:25

T

AbortSignal

Promise<T | undefined>


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

Defined in: packages/data/src/heap/iasync-heap.ts:17

T

AbortSignal

Promise<void>


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

Defined in: packages/data/src/heap/iasync-heap.ts:19

Iterable<T>

AbortSignal

Promise<void>


insertAndExtract(item, signal?): Promise<T | undefined>

Defined in: packages/data/src/heap/iasync-heap.ts:27

T

AbortSignal

Promise<T | undefined>


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

Defined in: packages/data/src/heap/iasync-heap.ts:23

AbortSignal

Promise<T | undefined>