txt: ## sink.md
  sink
  
  Combined from primary sources listed below.
  
  # [In List](#___top "go to top of document")[§](#(List)_method_sink "direct link")
  
  See primary documentation
  [in context](/type/List#method_sink)
  for **method sink**.
  
  ```raku
  method sink(--> Nil) { }
  ```
  
  It does nothing, and returns [`Nil`](/type/Nil), as the definition clearly shows.
  
  ```raku
  sink [1,2,Failure.new("boo!"),"still here"]; # OUTPUT: «»
  ```
  
  # [In Proc](#___top "go to top of document")[§](#(Proc)_method_sink "direct link")
  
  See primary documentation
  [in context](/type/Proc#method_sink)
  for **method sink**.
  
  ```raku
  method sink(--> Nil)
  ```
  
  When sunk, the `Proc` object will throw [`X::Proc::Unsuccessful`](/type/X/Proc/Unsuccessful) if the process it ran exited unsuccessfully.
  
  ```raku
  shell 'ls /qqq';
  # OUTPUT:
  # (exit code 1) ls: cannot access '/qqq': No such file or directory
  # The spawned command 'ls /qqq' exited unsuccessfully (exit code: 2)
  #   in block <unit> at /tmp/3169qXElwq line 1
  #
  
  ```
  
  # [In Seq](#___top "go to top of document")[§](#(Seq)_method_sink "direct link")
  
  See primary documentation
  [in context](/type/Seq#method_sink)
  for **method sink**.
  
  ```raku
  method sink(--> Nil)
  ```
  
  Calls [`sink-all`](/routine/sink-all) if it is an [`Iterator`](/type/Iterator), `sink` if the Sequence is a list.
  
  ```raku
  say (1 ... 1000).sink; # OUTPUT: «Nil␤»
  ```
  
  This is something you might want to do for the side effects of producing those values.
  
  # [In HyperSeq](#___top "go to top of document")[§](#(HyperSeq)_method_sink "direct link")
  
  See primary documentation
  [in context](/type/HyperSeq#method_sink)
  for **method sink**.
  
  ```raku
  method sink(--> Nil)
  ```
  
  Sinks the underlying data structure, producing any side effects.
  
  # [In RaceSeq](#___top "go to top of document")[§](#(RaceSeq)_method_sink "direct link")
  
  See primary documentation
  [in context](/type/RaceSeq#method_sink)
  for **method sink**.
  
  ```raku
  method sink(--> Nil)
  ```
  
  Sinks the underlying data structure, producing any side effects.
  