 Chromium Code Reviews
 Chromium Code Reviews Issue 79243002:
  Implement scheduleImmediate for the VM.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
    
  
    Issue 79243002:
  Implement scheduleImmediate for the VM.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart| Index: sdk/lib/_internal/lib/collection_dev_patch.dart | 
| diff --git a/sdk/lib/_internal/lib/collection_dev_patch.dart b/sdk/lib/_internal/lib/collection_dev_patch.dart | 
| index cd766c48d6fad220319415c7617c135bdbe62373..3ebb7a3967c2d19f62e728752078553eaa9d0e1b 100644 | 
| --- a/sdk/lib/_internal/lib/collection_dev_patch.dart | 
| +++ b/sdk/lib/_internal/lib/collection_dev_patch.dart | 
| @@ -3,6 +3,7 @@ | 
| // BSD-style license that can be found in the LICENSE file. | 
| import 'dart:_js_primitives' show printString; | 
| +import 'dart:_isolate_helper' show TimerImpl; | 
| patch class Symbol implements core.Symbol { | 
| patch const Symbol(String name) | 
| @@ -12,3 +13,8 @@ patch class Symbol implements core.Symbol { | 
| patch void printToConsole(String line) { | 
| printString('$line'); | 
| } | 
| + | 
| +patch void scheduleImmediate(void callback()) { | 
| 
Ivan Posva
2013/11/27 22:08:32
Wasn't the goal of this CL to get rid of the relia
 
floitsch
2013/11/28 19:05:54
This is in the dart2js version.
This change should
 | 
| + // TODO(9002): don't use the Timer to enqueue the immediate callback. | 
| + new TimerImpl(0, callback); | 
| +} |