-
Notifications
You must be signed in to change notification settings - Fork 4
Add Progress throttling #4
Copy link
Copy link
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Add optional progressThrottle option to prevent state flooding when compute functions fire progress updates in tight loops. Should throttle/debounce progress callbacks to avoid choking the main thread with re-renders.
- Add
progressThrottle?: numberoption (ms) toComputeOptions - Throttle
onProgresscalls in the React hook - Consider both throttle (regular intervals) and debounce (wait for pause) strategies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed