Interface HeapAsyncOptions<T>

HeapAsync configuration options.

interface HeapAsyncOptions<T> {
    compare?: AsyncComparator<T>;
    isEqual?: AsyncIsEqual<T>;
}

Type Parameters

  • T

Properties

Properties

compare?: AsyncComparator<T>

Comparison function for heap ordering.

HeapAsync.minComparator
isEqual?: AsyncIsEqual<T>

Default equality function for contains and remove.

HeapAsync.defaultIsEqual