Commit Graph

20 Commits

Author SHA1 Message Date
Samuel Berthe
5cd32660f6 feat: adding ExampleNewThrottleBy and ExampleNewThrottleByWithCount 2025-01-26 22:47:39 +01:00
minjea.lee
27638ea5b7 feat: adding NewThrottle (#396) 2025-01-26 19:59:39 +01:00
Nathan Baulch
db0f4d2171 Tidy up (#519) 2024-08-22 01:17:02 +02:00
Samuel Berthe
61209816d1 feat: speed up loops by reducing allocations (#475) 2024-06-28 01:35:57 +02:00
Viktor Szépe
d8598ea01e Fix typos (#384) 2023-12-20 00:43:37 +01:00
Samuel Berthe
443de35ee3 feat: adding DebounceBy (#329) 2023-03-20 15:12:54 +01:00
Samuel Berthe
6438444f7d adding Transaction 2022-12-12 01:17:03 +01:00
Ayaka Neko
23ae73bfce feat: adding AttemptWhile and AttemptWhileWithDelay (#183)
* feat: adding HaltingAttempt and HaltingAttemptWithDelay

* chore: re-implement it as AttemptWhile and AttemptWhileWithDelay
2022-11-28 11:27:59 +01:00
Samuel Berthe
7887963db8 feat: name each callback/iteratee/predicate arguments in order to improve autocompletion
closes #242
2022-10-13 22:25:33 +02:00
Samuel Berthe
c6b8b1e628 doc: adding examples 2022-10-06 22:46:47 +02:00
Ryan Russell
451ea04fa4 chore(readability): Fix typos in docs and retry.go (#153)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-07-03 19:37:30 +02:00
Samuel Berthe
05d69d760e chore(ci): upgrade go version 2022-05-24 17:30:35 +02:00
Samuel Berthe
161f924e17 feat: adding AttemptWithDelay 2022-04-26 12:00:53 +02:00
Samuel Berthe
9abdcd40ea feat(debounce): add doc + accept multiple callback functions 2022-03-20 01:46:33 +01:00
xuzhiwei
ecdd8512f4 Make Debounce Lodash style 2022-03-14 17:28:13 +08:00
xuzhiwei
d12d43442e Make Debounce thread safe 2022-03-12 12:46:59 +08:00
xuzhiwei
046457ebbd Add Cancel of Debounce, Update README.md and test cases 2022-03-12 10:33:26 +08:00
xuzhiwei
33bb4cea02 Add Debounce 2022-03-11 14:04:49 +08:00
Samuel Berthe
98ecdea940 adding Sample+Samples 2022-03-05 23:13:18 +01:00
Samuel Berthe
2d3ea84ba6 feat: adding attempt + repeat + times 2022-03-05 21:24:37 +01:00