Skip to content
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

Make collection adapters thread-safe #305

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

jasongin
Copy link
Member

Fixes #141

Marshalling adapters for delegates, interfaces, and collections are designed for compatibility with code that might not be aware of JS threading concerns. So they should be thread-safe, callable from any thread. Delegate and interface adapters already were thread-safe, but it was not yet implemented for collection adapters.

@jasongin jasongin merged commit ed3c107 into main Jun 17, 2024
24 checks passed
@jasongin jasongin deleted the dev/jasongin/collection-adapter-threading branch June 17, 2024 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically switch to main thread when calling back to JS
2 participants