We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"react-native": "0.67.4", "react-native-threads": "^0.0.19",
data get from the server in 2-second intervals. the app crashed when it creates the thread see the above image
` const thread = new Thread('./BMS100.thread.js');
thread.postMessage('split'); // thread.onmessage = (message) => console.log(message); console.log('Termainateeeeeeee') thread.terminate();`
BMS100.thread.js file
import { self } from 'react-native-threads'; console.log('Fileeeeeeeee') self.onmessage = (message) => { console.log('@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@', message) alert(message) } self.postMessage('hello')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"react-native": "0.67.4", "react-native-threads": "^0.0.19",
data get from the server in 2-second intervals. the app crashed when it creates the thread see the above image
` const thread = new Thread('./BMS100.thread.js');
BMS100.thread.js file
import { self } from 'react-native-threads'; console.log('Fileeeeeeeee') self.onmessage = (message) => { console.log('@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@', message) alert(message) } self.postMessage('hello')
The text was updated successfully, but these errors were encountered: