-
Notifications
You must be signed in to change notification settings - Fork 37
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
return value from worklets #120
Comments
same problem |
the resulting values are Proxies. Arrays and Objects are Proxied as native HostObjects, so they can cheaply be shared by reference, without copying them. Methods such as Is there any reason you need them to be an Array/Object instead of a Proxy? |
Object spread not working could be a feature request yep |
@mrousavy I want to pass the resulting values into native module then I got an error "TypeError: ownKeys target key is non-configurable but not present in trap result" |
I don't know, never seen that error before and don't have a stacktrace or repro so I can't help you |
You can simply pass result type Array from worklet into android native module as ReadonlyArray and see what happen @mrousavy |
The text was updated successfully, but these errors were encountered: