feat(Worklets): getCurrentThreadId function - #10441
Conversation
|
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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughAdds the public Merge Risk: ⚪ Minimal · up to The PR adds a utility for reading the current thread ID with accompanying runtime coverage and documentation; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 4e38257b-00e5-43a3-832b-f7e5d1627924
📒 Files selected for processing (5)
apps/common-app/runtime-tests/worklets/suites.tsapps/common-app/runtime-tests/worklets/tests/runtimes/getCurrentThreadId.test.tsxdocs/docs-worklets/docs/utility/getCurrentThreadId.mdxpackages/react-native-worklets/src/threads.native.tspackages/react-native-worklets/src/threads.ts
🚧 Files skipped from review as they are similar to previous changes (2)
- packages/react-native-worklets/src/threads.native.ts
- packages/react-native-worklets/src/threads.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Summary
I added a utility function to check current thread id from JavaScript.
TODO: add docs
Test plan
I added a new runtime test suite.
Changelog
Unpublishedsection of each changed package'sCHANGELOG.md, or this PR does not changereact-native-reanimatedorreact-native-worklets.