PriorityCache.getLowestPriorityItem

Returns the item with lowest priority.

class PriorityCache(T)
T*
getLowestPriorityItem
(
out hash_t key
,
out ulong priority
)

Parameters

key hash_t

set to the key of lowest priority item

priority ulong

set to the priority of the lowest priority item

Return Value

Type: T*

returns a pointer to the lowest priority item or null if the cache is empty

Meta