* Push an update, if any, onto the queue. Creates a new queue if none is * passed and always returns the queue. Mutative.
(queue, update)
| 11696 | * passed and always returns the queue. Mutative. |
| 11697 | */ |
| 11698 | function enqueue(queue, update) { |
| 11699 | if (update) { |
| 11700 | queue = queue || []; |
| 11701 | queue.push(update); |
| 11702 | } |
| 11703 | return queue; |
| 11704 | } |
| 11705 | |
| 11706 | /** |
| 11707 | * Processes any enqueued updates. |
no outgoing calls
no test coverage detected
searching dependent graphs…