Skip to content

Releases: keep94/consume2

v0.9.0

Choose a tag to compare

@keep94 keep94 released this 28 Feb 14:15

New Features

  • Introduce LastN type. LastN collects only the last n values consumed.

v0.8.0

Choose a tag to compare

@keep94 keep94 released this 15 Aug 11:41

New Features

  • Call function to create a Consumer that calls an arbitrary function. This provides more concise code than doing a type conversion to ConsumerFunc[T].
  • AppendPtrsTo function added to Pipeline for completeness.

Introduce Pipeline.Call

Choose a tag to compare

@keep94 keep94 released this 09 Nov 01:40

New Features

  • Introduce Pipeline.Call

Introduce Identity Function

Choose a tag to compare

@keep94 keep94 released this 22 Mar 01:19

New Features

  • Introduce Identity function to return a pipeline that emits the same values it receives.

Code Cleanup

  • Rename parameters of Join function to first and second.

Introduce Pipeline Abstraction

Choose a tag to compare

@keep94 keep94 released this 18 Mar 04:25

New Features

  • Introduce pipeline abstraction.
  • Introduce FromXXX functions which populate a consumer from a slice or generator function.

Add AsFunc for interoperability with github.com/google/btree

Choose a tag to compare

@keep94 keep94 released this 05 Jun 15:06

New Features

AsFunc function for interoperability with github.com/google/btree

Consume() methods no longer panic

Choose a tag to compare

@keep94 keep94 released this 14 May 21:14

Breaking Change The Consume() method of the Consumer interface no longer panics if it can't consume a value. Rather it just silently returns without consuming the value.

Minor optimisations such as not needing to call CanConsume() right before calling Consume() every time.

Git rid of NoGenerics and MustCanConsume

Choose a tag to compare

@keep94 keep94 released this 04 May 00:48
  • Documentation fixes
  • Breaking Change Get rid of NoGenerics type
  • Breaking Change Get rid of MustCanConsume function

Initial release

Choose a tag to compare

@keep94 keep94 released this 13 Mar 17:04

Initial release