I am developing a React Native app, which receives packets from a physical device on a high rate (20packets every second). I need to do some processing on the packets and extract some information each time I receive a packet.
On older devices, this cause a huge delay. So I assume, I should move these functions to a background(?) thread that would run separately from the main thread that updates the UI. I investigated some libraries for react-native threads, and most of them looks very old and not maintained.
Any suggestion for a library? or any other suggestions?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744979201a4604337.html
评论列表(0条)