You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Look at https://github.com/TanStack/pacer/blob/main/packages/pacer-lite/src/lite-batcher.ts, the only difference is that flush clears the timeout before executing. With that in mind, what's the reason someone would want to execute the batch without clearing the timeout? Is that just asking for weird behavior?
Asking as from https://tanstack.com/pacer/latest/docs/guides/batching#batcher-methods - it wasn't very clear to me ("Manually process the current batch" vs "Flush pending batch immediately").
All reactions