joltup/react-native-threads

Understanding

AleksDominik opened this issue · 1 comments

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?

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