1 | var makeAwaitFunc = require('./makeAwaitFunc');
|
2 | /**
|
3 | * Suspends a suspendable function until the given awaitable expression produces
|
4 | * a result. If the given expression produces an error, then an exception is raised
|
5 | * in the suspendable function.
|
6 | * @param {any} expr - The awaitable expression whose results are to be awaited.
|
7 | * @returns {any} The final result of the given awaitable expression.
|
8 | */
|
9 | var await = makeAwaitFunc();
|
10 | await.in = makeAwaitFunc('in');
|
11 | await.top = makeAwaitFunc('top');
|
12 | module.exports = await;
|
13 | //# sourceMappingURL=index.js.map |
\ | No newline at end of file |