Javascript – Resolve blocking of main thread on heavy workloads
I am building a tiny library that interfaces with the Canvas API through functional means. Some functions may take too long - either due to their complexity - or a programming error (infinite loop). If possible, how would I be…