Skip to content

Hi this is a question not an issue. Seeking a simple example using worker. #58

@janusqa

Description

@janusqa

//import
const rusha = require('rusha');

//set up worker
const worker = rusha.createWorker();

// send data to be hashed
worker.postMessage({id: myjobid, data: mydata});

How do I retrieve the hash and terminate the worker?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions