MCPcopy Create free account
hub / github.com/WarFrontIO/client / update

Method update

src/util/PriorityQueue.ts:69–78  ·  view source on GitHub ↗

* Update a value in the queue. * WARNING: The new value must have a higher priority than the old value. * @param predicate The predicate to find the value to update. * @param value The new value. * @returns The new size of the queue.

(predicate: (element: T) => boolean, value: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

calculateBoatWaypointsFunction · 0.95

Calls 2

sizeMethod · 0.95
siftUpMethod · 0.95

Tested by

no test coverage detected