Skip to content

ellbur/scalajs-webworker-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of using web-workers in ScalaJS.

Based off of https://github.com/sjrd/scala-js-actors/tree/master/examples/webworkers, but without any of the additional architecture for actors.

Running

In SBT, run

> ~fake-site/site

This will generate a complete runnable site in fake-site/target/site

To run it from the local filesystem in most browsers you will need to override some same-origin security policies; for example in Chrome you can use --disable-web-security.

In the browser, open up a web console to view the output.

About

Example of using WebWorkers in ScalaJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published