Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 878 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 878 Bytes

Web Worker Demo

Calculate fibbonnaci value of a number in the worker thread, without blocking the main thread.

You can access a live version here:

Running this example

do ./build.sh && ./serve.sh

notes

This example is NOT built with trunk. Multi-threading in yew does not currently build with Trunk, due to issues described in the multi_thread example.

Instead the example is built with wasm-pack directly.

To build, run ./build.sh. You can then serve the build, with ./serve.sh.

This example uses python3 as a server, any alternative will work.

Thanks to