I am inserting thousands of data into realm
and found that while insertions are running, it blocks the UI and all the actions performed during this are queued and executed after insertions are completed.
Is there any way I can avoid this UI blocking or how to execute realm inserts in a separate thread(finding it difficult to do as js is single threaded).