Skip to content

Sample App for the new WebWorker Extension #499

Description

@itg-assistant

Luca asked 2016-12-20 17:41:29 UTC

I have attached a small sample app using the new WebWorker extension. It uses a small javascript loop running on the client in a web worker and firing events back to the server.

In the project, look in the FindPrimes.js file and open Page1 in design mode to see how the Wisej.Ext.WebWorker component is used. It's quite easy: just drop the WebWorker component (you can use more than 1 - each component is a web worker thread in the browser) and attach the js to execute.

The client can post messages back to the server and the server can send messages to the web worker or terminate it at any time. It's super cool. I'm not sure if it's useful though... In any case, if someone can come up with a useful use case scenario for web workers I'd be interested in knowing what it is.

Best,

Luca

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureA capability that does not exist yet.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions