├── .gitignore ├── .prettierrc ├── LICENSE ├── Makefile ├── README.md ├── packages └── lib │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ ├── async-worker.ts │ ├── index.ts │ ├── omniworker.ts │ ├── task.ts │ ├── transferable.ts │ ├── types.ts │ ├── worker-shared.ts │ └── worker.ts │ └── tsconfig.json ├── pnpm-workspace.yaml └── sandbox ├── browser-demo ├── .gitignore ├── index.html ├── package.json ├── public │ └── vite.svg ├── src │ ├── main.ts │ ├── myWorker.worker.ts │ ├── style.css │ ├── typescript.svg │ └── vite-env.d.ts ├── tsconfig.json └── vite.config.ts ├── demo ├── package.json ├── src │ ├── index.ts │ └── myWorker.worker.ts └── tsconfig.json └── shared ├── package.json ├── src └── index.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | pnpm-lock.yaml 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/README.md -------------------------------------------------------------------------------- /packages/lib/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | node_modules 3 | tsconfig.json 4 | -------------------------------------------------------------------------------- /packages/lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/README.md -------------------------------------------------------------------------------- /packages/lib/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/package.json -------------------------------------------------------------------------------- /packages/lib/src/async-worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/async-worker.ts -------------------------------------------------------------------------------- /packages/lib/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/index.ts -------------------------------------------------------------------------------- /packages/lib/src/omniworker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/omniworker.ts -------------------------------------------------------------------------------- /packages/lib/src/task.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/task.ts -------------------------------------------------------------------------------- /packages/lib/src/transferable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/transferable.ts -------------------------------------------------------------------------------- /packages/lib/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/types.ts -------------------------------------------------------------------------------- /packages/lib/src/worker-shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/worker-shared.ts -------------------------------------------------------------------------------- /packages/lib/src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/src/worker.ts -------------------------------------------------------------------------------- /packages/lib/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/packages/lib/tsconfig.json -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /sandbox/browser-demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/.gitignore -------------------------------------------------------------------------------- /sandbox/browser-demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/index.html -------------------------------------------------------------------------------- /sandbox/browser-demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/package.json -------------------------------------------------------------------------------- /sandbox/browser-demo/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/public/vite.svg -------------------------------------------------------------------------------- /sandbox/browser-demo/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/src/main.ts -------------------------------------------------------------------------------- /sandbox/browser-demo/src/myWorker.worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/src/myWorker.worker.ts -------------------------------------------------------------------------------- /sandbox/browser-demo/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/src/style.css -------------------------------------------------------------------------------- /sandbox/browser-demo/src/typescript.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/src/typescript.svg -------------------------------------------------------------------------------- /sandbox/browser-demo/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /sandbox/browser-demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/tsconfig.json -------------------------------------------------------------------------------- /sandbox/browser-demo/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/browser-demo/vite.config.ts -------------------------------------------------------------------------------- /sandbox/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/demo/package.json -------------------------------------------------------------------------------- /sandbox/demo/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/demo/src/index.ts -------------------------------------------------------------------------------- /sandbox/demo/src/myWorker.worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/demo/src/myWorker.worker.ts -------------------------------------------------------------------------------- /sandbox/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/demo/tsconfig.json -------------------------------------------------------------------------------- /sandbox/shared/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/shared/package.json -------------------------------------------------------------------------------- /sandbox/shared/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/shared/src/index.ts -------------------------------------------------------------------------------- /sandbox/shared/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LankyMoose/async-worker-ts/HEAD/sandbox/shared/tsconfig.json --------------------------------------------------------------------------------