Index: pkg/observe/lib/src/compound_binding.dart |
diff --git a/pkg/observe/lib/src/compound_binding.dart b/pkg/observe/lib/src/compound_binding.dart |
index 94db67a84df3b1e4de661772e80292cdb498740f..b08e97d495093f9d3d7eb1fb15254e3e5638d010 100644 |
--- a/pkg/observe/lib/src/compound_binding.dart |
+++ b/pkg/observe/lib/src/compound_binding.dart |
@@ -42,7 +42,7 @@ class CompoundBinding extends ChangeNotifierBase { |
* resolve. |
*/ |
// TODO(jmesserly): I don't like having this public, is the optimization |
- // really needed? "runAsync" in Dart should be pretty cheap. |
+ // really needed? "scheduleMicrotask" in Dart should be pretty cheap. |
bool scheduled = false; |
/** |
@@ -101,7 +101,7 @@ class CompoundBinding extends ChangeNotifierBase { |
void _scheduleResolve() { |
if (scheduled) return; |
scheduled = true; |
- runAsync(resolve); |
+ scheduleMicrotask(resolve); |
} |
void resolve() { |