Chromium Code Reviews

Unified Diff: sdk/lib/async/schedule_microtask.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/async/schedule_microtask.dart
diff --git a/sdk/lib/async/schedule_microtask.dart b/sdk/lib/async/schedule_microtask.dart
index dca72df9c7291a541ccfbbb1771e9c189e035902..300cb3c6c4c43600e1694e047af92d842853a932 100644
--- a/sdk/lib/async/schedule_microtask.dart
+++ b/sdk/lib/async/schedule_microtask.dart
@@ -71,14 +71,6 @@ void scheduleMicrotask(void callback()) {
Zone.current.bindCallback(callback, runGuarded: true));
}
-/**
- * *DEPRECATED*. Use [scheduleMicrotask] instead.
- */
-@deprecated
-void runAsync(void callback()) {
- scheduleMicrotask(callback);
-}
-
class _AsyncRun {
/** Schedule the given callback before any other event in the event-loop. */
external static void _scheduleImmediate(void callback());

Powered by Google App Engine