Skip to content

Releases: ssgreg/repeat

v1.5.1: Merge pull request #6 from pamburus/feature/jitter

24 Jul 08:18
803b320
Compare
Choose a tag to compare

New Repeator factory methods: With and NewRepeaterExt.

06 Feb 13:50
536dbd8
Compare
Choose a tag to compare
  • 'With' returns object that calls C (constructor) at first, then ops, then D (destructor). D will be called in any case if C returns nil. D is able to hide original error an return nil or return error even if the original error is nil.

  • 'NewRepeaterExt' returns object that wraps all ops with with the given opw and wraps composed operation with the given copw.

v1.4.1: Merge pull request #4 from ssgreg/feature/fix-exp-backoff

22 Nov 16:40
8b8c013
Compare
Choose a tag to compare

v1.4

07 May 06:11
Compare
Choose a tag to compare
  • fix: Once calls global compose
  • ref: some changes in Cpp concept. It is transparent for input errors now, it also panics if D fails
  • add: Done, FnDone, FnOnlyOnce
  • add: 100% test coverage

Once and FnRepeat

04 May 17:21
Compare
Choose a tag to compare
  • add: Once and FnRepeat to Repeater and global functions

New `Cpp` concept.

30 Apr 12:11
Compare
Choose a tag to compare
  • add: Nope to operations
  • add: new function to create Repeater with constructor and destructor - Cpp

More operations & tests.

28 Apr 06:33
Compare
Choose a tag to compare
  • add: IsTemporary and IsStop for errors
  • add: FnOnError for operations
  • add: missing tests for operations

Public release

26 Apr 12:16
Compare
Choose a tag to compare
  • add new interface Repeater
  • add new concept - OpWrapper
  • add new function to create Repeater with wrapping operations
  • add new WithContext - a repeater that checks for context errors before operation call

v0.1.0

28 Nov 08:56
Compare
Choose a tag to compare

Initial release.