Skip to content

ellbur/scalajs-webworker-test

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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