Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
paberr committed Nov 29, 2024
1 parent ee80778 commit ed21130
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
- name: Install npm
working-directory: ./test
run: npm ci
- name: Trigger toolchain installation
working-directory: ./test
run: cargo fetch
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Run tests
working-directory: ./test
run: npm test
8 changes: 0 additions & 8 deletions .github/workflows/toc.yml

This file was deleted.

12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
`wasmworker` is a library that provides easy access to parallelization on web targets when compiled to WebAssembly using [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen).
In contrast to many other libraries like [wasm-bindgen-rayon](https://github.com/RReverser/wasm-bindgen-rayon), this library does not require SharedArrayBuffer support.

<!-- START doctoc -->
<!-- END doctoc -->
- [Usage](#usage)
- [Setting up](#setting-up)
- [Outsourcing tasks](#outsourcing-tasks)
- [WebWorker](#webworker)
- [WorkerPool](#workerpool)
- [Iterator extension](#iterator-extension)
- [Feature detection](#feature-detection)
- [FAQ](#faq)

## Usage
The library consists of two crates:
Expand Down Expand Up @@ -40,7 +46,7 @@ async fn startup() {
}
```

### Outsourcing tasks to a web worker
### Outsourcing tasks
The library offers three ways of outsourcing function calls onto concurrent workers:
1. `WebWorker`: a single worker, to which tasks can be queued to.
2. `WorkerPool`: a pool of multiple workers, to which tasks are distributed.
Expand Down

0 comments on commit ed21130

Please sign in to comment.