Skip to content
A simple example of how to use Node worker_thread module with RxJS observables to stream data between the worker thread and main thread.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
node-parent-thread-rxjs.js
node-worker-thread-rxjs.js
package-lock.json
package.json

README.md

This repository contains a demonstration of the worker_threads module that is now standard in Node 11.7.0. To make things interesting, I am using Rxjs Observable stream messages from the worker thread.

This demo requires Node 11.7.0 or higher.

To run the demo, run npm install then npm start.

You can’t perform that action at this time.