SHARE
TWEET

Untitled

a guest Jun 17th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top