txt: ## sink-all.md
  sink-all
  
  Combined from primary sources listed below.
  
  # [In role Iterator](#___top "go to top of document")[§](#(role_Iterator)_method_sink-all "direct link")
  
  See primary documentation
  [in context](/type/Iterator#method_sink-all)
  for **method sink-all**.
  
  ```raku
  method sink-all(Iterator:D: --> IterationEnd)
  ```
  
  Should exhaust the iterator purely for the side-effects of producing the values, without actually saving them in any way. Should always return `IterationEnd`. If there are no side-effects associated with producing a value, then it can be implemented by a consuming class to be a virtual no-op.
  
  ```raku
  say (1 .. 1000).iterator.sink-all;  # OUTPUT: «IterationEnd␤»
  ```
  
  The Iterator role implements this method as a loop that calls `pull-one` until it is exhausted.
  