Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. func processBatch(){
  2.  
  3. for _ in 0..<queue.getCount(){
  4. batchSum -= queue.peek()!
  5. //1
  6. print("deueuing \(queue.dequeue()!.format())")
  7.  
  8. }
  9. //2
  10. print("deueuing \(batchSum!.format())")
  11. resetBatchSum()
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement