I looked very briefly at this project. But as soon as I got to this unfamiliar pattern:
resolve => (count: number) =>
resolve(count)
... I gave up. Either explain why this resolve pattern is needed here (and not just e.g. a payload), or simplify your library. Life is too short to guess the coder's motivations.
I looked very briefly at this project. But as soon as I got to this unfamiliar pattern:
... I gave up. Either explain why this
resolve
pattern is needed here (and not just e.g. a payload), or simplify your library. Life is too short to guess the coder's motivations.