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

Understanding #122

Open
AleksDominik opened this issue Jan 11, 2021 · 1 comment
Open

Understanding #122

AleksDominik opened this issue Jan 11, 2021 · 1 comment

Comments

@AleksDominik
Copy link

Hello,
Not a proper issue. I just want to understand some aspect missing or confusing for me in the documentations.
Does More that one thread can be achieve without creating two worker.thread.js file.
I tried to create two variables
let thread1= new Thread('/path/to/mythread) let thread2= new Thread('/path/to/mythread)
but I am not sure of the result.
My second point is about integration of package.
How can i include react-native-contact package within threads?

@irohitb
Copy link

irohitb commented Feb 2, 2023

Hey, I created an Update fork that supports getting references without creating a new thread.

You can check it here: https://github.com/irohitb/react-native-multithreads#working-with-existing-thread-passed-from-native-side

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

No branches or pull requests

2 participants