Skip to content

Commit

Permalink
Complement the CHANGELOG for #529 (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored May 5, 2023
1 parent 8135dba commit 6ddb668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- It is now possible to run the CPU-heavy tasks of smoldot within a worker (WebWorker, worker threads, etc.). To do so, create two ports using `new MessageChannel()`, pass one of the two ports in the `ClientOptions.portToWorker` field and send the other port to a web worker, then call `run(port)` from within that worker. The `run` function can be found by importing `import { run } from 'smoldot/worker'`. ([#529](https://github.com/smol-dot/smoldot/pull/529))
- It is now possible to run the CPU-heavy tasks of smoldot within a worker (WebWorker, worker threads, etc.). To do so, create two ports using `new MessageChannel()`, pass one of the two ports in the `ClientOptions.portToWorker` field and send the other port to a web worker, then call `run(port)` from within that worker. The `run` function can be found by importing `import { run } from 'smoldot/worker'`. If a `portToWorker` is provided, then the `cpuRateLimit` setting applies to the worker. ([#529](https://github.com/smol-dot/smoldot/pull/529))

### Changed

Expand Down

0 comments on commit 6ddb668

Please sign in to comment.