Skip to content

Commit

Permalink
Merge branch 'inter-worker-com'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Dec 12, 2023
2 parents 30bdaf5 + 2e0326b commit 62834d6
Show file tree
Hide file tree
Showing 54 changed files with 2,694 additions and 1,361 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Build
node-version: '18'
- name: Install
shell: bash
run: |
npm ci
- name: Lint
shell: bash
run: |
npm run lint
- name: Build
shell: bash
run: |
npm run build
- name: Test
shell: bash
Expand All @@ -27,7 +34,3 @@ jobs:
shell: bash
run: |
npm --prefix packages/examples run build:production
- name: Lint
shell: bash
run: |
npm run lint
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## 2.3.0
## 2.4.0 - 2023-10-2x

- Added `RawPayload` and new `WorkerCom` example that demonstrates inter-worker communication.

## 2.3.0 - 2023-10-21

- Added the possiblity to sent intermediate message from main to the worker if the worker is still executing.
- Usage of `await` everwhere instead of `Promise.then()`
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<div style="padding: 5px">
<h1>WorkerTaskDirector: Examples</h1>

<a href="packages/examples/helloWorld.html">Hello World: Module Worker</a>
<a href="packages/examples/helloWorldWorkerTask.html">Hello World: WorkerTask</a>
<br>
<a href="packages/examples/helloWorldStandard.html">Hello World: Standard Worker</a>
<a href="packages/examples/helloWorld.html">Hello World: WorkerTaskDirector</a>
<br>
<a href="packages/examples/helloWorldWorkerTask.html">Hello World: Worker Task Only</a>
<a href="packages/examples/workerCom.html">Inter-Worker Communication</a>
<br>
<a href="packages/examples/transferables.html">Transferables</a>
<br>
Expand Down
Loading

0 comments on commit 62834d6

Please sign in to comment.