Tags: kelindar/timeline
Tags
Refactored emit package for events (#10) * Add time wheel driver for event scheduling * wip * test * simplify * simplify * wip * wip * wip * wip * move to scheduler * leave simple after * wip * rename * readme * drain all * fix after * reduce stress test count from 1,000,000 to 10,000 * Update test workflow to exclude example packages from unit tests
Refactor task execution in Scheduler to prevent deadlocks (#7) * Refactor task execution in Scheduler to prevent deadlocks and improve nested scheduling scenarios * Retain future tasks in bucket queue after execution and enhance test for future task scheduling * Fix task scheduling in TestFutureTasksRetained to ensure immediate task runs on the first tick * Refactor task collection in Scheduler.Tick to improve clarity and efficiency * Refactor task execution buffer in Scheduler to use job type for improved clarity
Improving task scheduling functionality, usability, and performance (#5) * Refactor code structure for improved readability and maintainability * Remove TestEveryAfterCancel function to streamline event tests * Increase interval and wait time in TestEveryCancel for improved event handling * Refactor TestEveryCancel to use atomic counter for event tracking after cancellation * Refactor TestEveryCancel to count only relevant events for improved accuracy