-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release notes
Eugene Lazutkin edited this page Mar 15, 2026
·
3 revisions
Bug fixes, improved TypeScript declarations, expanded test coverage, and documentation corrections.
-
Scheduler:
processTasks()now skips canceled tasks instead of executing them. -
Scheduler:
dequeue()guards against already-removed tasks. -
Scheduler:
repeat()stops re-enqueueing whentask.isCanceledis set. -
LimitedQueue: Constructor now validates the
limitparameter (appliesMath.max(1, limit)). -
PageWatcher:
pause()no longer calls deadsuper.pause()path; event listeners are removed correctly. -
PageWatcher:
clear()now cancels tasks likeListQueuedoes. -
Retainer:
release()wrapsdestroy()in try/catch to prevent unhandled rejections.
-
LimitedQueue.d.ts:
enqueueandschedulecallbacks now correctly include{task, queue}argument. - Various
.d.tsfiles refined for accuracy: Scheduler, FrameQueue, IdleQueue, ListQueue, MicroTask, MicroTaskQueue, PageWatcher, Throttler, Counter, index, random-dist, random-sleep.
- Added CommonJS test (
test-cjs.cjs). - Added many new unit tests for Counter, LimitedQueue, ListQueue, Retainer, Scheduler, Throttler, random-dist.
- Added TypeScript typing tests for CancelTaskError, MicroTask, LimitedQueue, and browser types.
- Fixed
ARCHITECTURE.md: correctedwhenDomLoaded/whenLoadedexport descriptions, fixed GitHub URLs. - Fixed
wiki/whenLoaded().md: corrected description (page load, not DOM load). - Fixed
wiki/Counter.md: removed incorrect LimitedQueue/Counter association. - Updated
wiki/Scheduler.md: documentedrepeat()cancellation behavior. - Updated file layout in AGENTS.md and rule files to include
.mjs/.cjstest patterns.
Queues
Utility Functions
Supporting Classes
Base Classes
Random Utilities
Page Load Helpers
Cookbook
Built on list-toolkit