feat(webworkers) Add MessageBus, Broker, and Serializer

This commit is contained in:
Jason Teplitz
2015-07-10 16:09:18 -07:00
parent b26f99787e
commit 33500e986b
22 changed files with 1097 additions and 28 deletions

View File

@ -22,7 +22,7 @@ class PromiseWrapper {
static Future wrap(Function fn) {
return new Future(fn);
}
// Note: We can't rename this method to `catch`, as this is not a valid
// method name in Dart.
static Future catchError(Future promise, Function onError) {