You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
stefanpenner
changed the title
cancelling queued tasks should likely not mutating the array
cancelling queued tasks should likely not splice/mutate the array
Oct 30, 2016
Rather then costly array splicing, we should just mark the particular task as "cancelled" and then skip it in the flush.
relevant code: https://github.com/ebryn/backburner.js/blob/master/lib/backburner/queue.js#L190-L217
The text was updated successfully, but these errors were encountered: