Skip to content

rwl/dispatched_worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DispatchedWorker

A wrapper for Dart around the WebWorker API.

Usage

import 'package:dispatched_worker/dispatched_worker.dart';

main() {
  var worker = new DispatchedWorker('path/to/script.js');
  worker.send('hello').then((result) {
    print(result);
  }); 
}

Credits

Based on dispatched_worker.coffee by Norman Rzepka.

About

A wrapper around the WebWorker API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages