| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of html; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Executes a [callback] after the immediate execution stack has completed. | 10 * Executes a [callback] after the immediate execution stack has completed. |
| 11 * | 11 * |
| 12 * This will cause the callback to be executed after all processing has | 12 * This will cause the callback to be executed after all processing has |
| 13 * completed for the current event, but before any subsequent events. | 13 * completed for the current event, but before any subsequent events. |
| 14 */ | 14 */ |
| 15 void setImmediate(TimeoutHandler callback) { | 15 void setImmediate(TimeoutHandler callback) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 /// Checks if _setImmediate is supported. | 38 /// Checks if _setImmediate is supported. |
| 39 static bool get _supportsSetImmediate => false; | 39 static bool get _supportsSetImmediate => false; |
| 40 | 40 |
| 41 /// Dartium stub for IE's setImmediate. | 41 /// Dartium stub for IE's setImmediate. |
| 42 void _setImmediate(void callback()) { | 42 void _setImmediate(void callback()) { |
| 43 throw new UnsupportedError('setImmediate is not supported'); | 43 throw new UnsupportedError('setImmediate is not supported'); |
| 44 } | 44 } |
| 45 | 45 |
| 46 $!MEMBERS | 46 $!MEMBERS |
| 47 } | 47 } |
| OLD | NEW |