-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(Worklets): runOnRuntimeSync
#8224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why on worker runtime we want to call makeShareableCloneOnUIRecursive? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an old name, it was created before the functionality of creating custom Worklet Runtimes was added. This function should be called makeShareableCloneOnWorkletRuntimeRecursive, but as we discussed yesterday with @tjzel, we will not change it
...ommon-app/src/apps/reanimated/examples/RuntimeTests/tests/runtimes/runOnRuntimeSync.test.tsx
Show resolved
Hide resolved
...ommon-app/src/apps/reanimated/examples/RuntimeTests/tests/runtimes/runOnRuntimeSync.test.tsx
Show resolved
Hide resolved
...ommon-app/src/apps/reanimated/examples/RuntimeTests/tests/runtimes/runOnRuntimeSync.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-native-worklets/Common/cpp/worklets/WorkletRuntime/WorkletRuntime.h
Outdated
Show resolved
Hide resolved
packages/react-native-worklets/Common/cpp/worklets/WorkletRuntime/WorkletRuntime.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh oh!
There was an error while loading. Please reload this page.
Summary
This PR :
runOnRuntimeSyncAPI functionrunOnRuntimeSynctype tests and runtime testrunOnRuntimeSyncfunctionTest plan
Screenshot 2025年09月10日 at 16 07 46 Screenshot 2025年09月10日 at 16 07 54