Commit Graph

5 Commits

Author SHA1 Message Date
hanna
a707c06f7f
feat(debounce): Support AbortSignal to cancel debounced functions for improved cancellation (#45)
* feat: Support AbortSignal to debounce for improved cancellation

* refactor: cancel timeoutId & add strict inequality

* fix: formatting in package.json

* refactor: using optional chaining

* fix: follow the fetch API's option

* docs: modify debounce ko, en docs
2024-06-14 08:04:05 +09:00
Sojin Park
678028dd3d feat(noop): Add noop function 2024-06-08 15:47:44 +09:00
Jungwoo LEE
79046ea5c1
feat(debounce, throttle): Support passing arguments to callback function in debounce & throttle function (#26)
* feat: add support for variable arguments in debounce.ts

* feat: add support for variable arguments in throttle.ts

* Update src/function/debounce.ts

* Apply suggestions from code review

* Update src/function/debounce.ts

* Update src/function/throttle.ts

* docs: update related docs

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-06-05 08:05:56 +09:00
Minsoo Kim
cf65b2c601
style(*): Setup prettier and apply formatting (#24)
* chore: add prettierrc

* chore: apply format with prettier config

* chore: eslint error fix
2024-06-04 17:19:26 +09:00
raon0211
7203b56367 1.0.0 2024-05-31 16:54:41 +09:00