PriorityCache.ForeachDg

The signature for the delegate to be used in a foreach loop:

foreach(hash_t key, ref T item, ulong item_priority; cache) { // You can change the value of item if it was ref item = new_value; }

class PriorityCache(T)
alias ForeachDg = int delegate(ref hash_t key, ref T item, ref ulong priority)

Return Value

the return value of a foreach delegate

Meta