HeapEntry
import { HeapEntry } from "jsr:@ende/data-structures/unstable-indexed-heap";interface ยท experimental
interface HeapEntry<K, P = number>A key-priority pair returned by IndexedHeap methods.
Fields are readonly to signal that mutating a returned entry has no
effect on the heap.
Properties
key
readonly key: KThe key that identifies this entry in the heap.
priority
readonly priority: PThe priority of this entry (smaller = higher priority by default).