Function: comparePriorities()
comparePriorities(
a,b):number
Defined in: limiter.ts:27
Compare two priorities. Returns negative if a should be serviced before
b, positive if b should go first, 0 on tie (queue then breaks the tie
by FIFO arrival order). Both shapes are normalised to arrays for compare.
Parameters
a
b
Returns
number