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.

Libraries

dispatched_worker