Used Comlink for a small toy project and made it really easy with very little change to move an expensive file merge off the main thread and do it in the background. Next time I use WebWorkers I'll probably use Comlink.
Example of using here https://github.com/mrloop/activity-merge/blob/main/app/contr...