List of Pipeline Functions

Pipeline functions are divided into two types: Value Functions and Flow Functions. Value functions work with the values and modify them, while Flow functions are wrappers for other functions allowing you to combine multiple functions into one.

Value Functions

  • Chunk - Group input values in groups of a specified size.
  • Drop - Discard the first N input values and return the rest.
  • DropWhile - Discard input values while callback returns true.
  • Expand - Yields one or more values from every input value.
  • Filter - Discard input values based on a callback.
  • GroupWhile - Group input values based on a callback.
  • Map - Modify every input value with a callback.
  • Observe - Send input values to a callback without modifying them.
  • Reduce - Reduce all input values to a single value.
  • Scan - Reduce all input values, returning the intermediate results.
  • Take - Return the first N input values and discard the rest.
  • TakeWhile - Return input values while callback returns true.

Flow Functions

  • Compose - Chain functions together.
  • Defer - Delay construction of a function.
  • Fork - Send every input value to multiple functions.
  • Multiplex - Send every input value to one function based on a callback.