API poll – a threejs mesh or texture loader does heavy lifting that could take 10–1000ms. It can do that synchronously (blocking + fast) or asynchronously in a worker (non-blocking + small perf overhead). Which do you want, if you had to choose one?

Follow

Assume you can put the loader itself into a Web Worker in your application while using the sync API – the library just doesn't do it for you. If you do prefer that – I'd love to hear if you've used a Web Worker before, or just use them when the framework provides one, and why.

· Mastodon Twitter Crossposter · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!