Avoid timers in synchronous scheduler dispatch - #6657
Conversation
🦋 Changeset detectedLatest commit: afae057 The changes in this PR will be included in the next version bump. This PR includes changesets to release 28 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughSynchronous scheduler dispatch now uses cancellable microtasks instead of timer-based scheduling. Standard Schema validation opts into sync mode, and tests verify yielded synchronous effects complete without calling timer APIs. ChangesSync scheduler dispatch
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
Comment |
Bundle Size Analysis
|
Summary
Testing
pnpm lint-fixpnpm checkpnpm --filter effect test --run(232 files passed; 7,162 tests passed; 3 skipped)Closes EFF-115
Closes EFF-113
Closes #6651
Summary by CodeRabbit