OLD | NEW |
1 dart_library.library('async_helper/async_helper', null, /* Imports */[ | 1 dart_library.library('async_helper/async_helper', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 ], function(exports, dart, core) { | 5 ], function(exports, dart, core) { |
6 'use strict'; | 6 'use strict'; |
7 let dartx = dart.dartx; | 7 let dartx = dart.dartx; |
8 exports._initialized = false; | 8 exports._initialized = false; |
9 const _Action0 = dart.typedef('_Action0', () => dart.functionType(dart.void, [
])); | 9 const _Action0 = dart.typedef('_Action0', () => dart.functionType(dart.void, [
])); |
10 exports._onAsyncEnd = null; | 10 exports._onAsyncEnd = null; |
11 exports._asyncLevel = 0; | 11 exports._asyncLevel = 0; |
12 function _buildException(msg) { | 12 function _buildException(msg) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 dart.dsend(f(), 'then', asyncSuccess); | 64 dart.dsend(f(), 'then', asyncSuccess); |
65 } | 65 } |
66 dart.fn(asyncTest, dart.void, [dart.functionType(dart.dynamic, [])]); | 66 dart.fn(asyncTest, dart.void, [dart.functionType(dart.dynamic, [])]); |
67 // Exports: | 67 // Exports: |
68 exports.asyncTestInitialize = asyncTestInitialize; | 68 exports.asyncTestInitialize = asyncTestInitialize; |
69 exports.asyncStart = asyncStart; | 69 exports.asyncStart = asyncStart; |
70 exports.asyncEnd = asyncEnd; | 70 exports.asyncEnd = asyncEnd; |
71 exports.asyncSuccess = asyncSuccess; | 71 exports.asyncSuccess = asyncSuccess; |
72 exports.asyncTest = asyncTest; | 72 exports.asyncTest = asyncTest; |
73 }); | 73 }); |
OLD | NEW |