FIND YOUR NEXT FEW LINES
Results for “queue”
Small, practical examples. Search by task or narrow things down below.
29 snippets foundClear filters
Use a deque as a stack
Java: Use push and pop for last-in, first-out behavior.
Java✓ Tested
Wait for several deferred values
jQuery: when resolves only after every supplied deferred has resolved.
jQuery✓ Tested
Process items by numeric priority
C#: PriorityQueue removes the item with the smallest priority value first.
C#✓ Tested
Stop current animation and discard later work
jQuery: stop with clearQueue and jumpToEnd finishes the current animation and removes pending ones.
jQuery✓ Tested
Wait until all selected elements finish animating
jQuery: promise observes the animation queues for every matched element.
jQuery✓ Tested