├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── examples ├── async-task.js ├── basic.js ├── error-handling.js ├── modules-in-thread.js └── multi-params.js ├── package.json ├── src ├── funthreads.js └── worker │ ├── executor.js │ ├── skeleton.js │ └── worker.js └── test └── funthreads.test.js /.eslintignore: -------------------------------------------------------------------------------- 1 | src/worker/thread.js -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | coverage 4 | .nyc_output -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/README.md -------------------------------------------------------------------------------- /examples/async-task.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/examples/async-task.js -------------------------------------------------------------------------------- /examples/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/examples/basic.js -------------------------------------------------------------------------------- /examples/error-handling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/examples/error-handling.js -------------------------------------------------------------------------------- /examples/modules-in-thread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/examples/modules-in-thread.js -------------------------------------------------------------------------------- /examples/multi-params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/examples/multi-params.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/package.json -------------------------------------------------------------------------------- /src/funthreads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/src/funthreads.js -------------------------------------------------------------------------------- /src/worker/executor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/src/worker/executor.js -------------------------------------------------------------------------------- /src/worker/skeleton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/src/worker/skeleton.js -------------------------------------------------------------------------------- /src/worker/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/src/worker/worker.js -------------------------------------------------------------------------------- /test/funthreads.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nairihar/funthreads/HEAD/test/funthreads.test.js --------------------------------------------------------------------------------