five-on-it / apps/client/src/ui/jobs-view / onTop
Function: onTop()
onTop<
T>(before,after,key):T[]
Defined in: apps/client/src/ui/jobs-view.ts:78
A list as it is shown again: the entries that came since before on top (in the order given), then those still there in the order they had, so an entry on screen never moves for one that arrived.
Type Parameters
T
T
Parameters
before
readonly T[]
after
readonly T[]
key
(item) => string
Returns
T[]