useWorker ​
useWorker is a js library (with typescript support) that allows you to use the Web Worker Web API, through Vue Hook. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise
Install ​
bash
npm i @vue-hooks-plus/use-workerAuto Import ​
typescript
import { VueHooksPlusUseWorkerResolver } from '@vue-hooks-plus/resolvers'