-
Notifications
You must be signed in to change notification settings - Fork 504
Description
ref: https://tc39.es/proposal-top-level-await/
@leobalter please fill in the following work lists and commence work on new test material:
-
AsyncFunctionStart ( promiseCapability, asyncFunctionBody )
- ...
-
AsyncBlockStart ( promiseCapability, asyncBody, asyncContext )
- ...
-
- ...
-
- ...
-
Table 3: Additional Fields of Cyclic Module Records
- [[Async]]
- ...
- [[AsyncEvaluating]] true or false Whether this module is currently awaiting async fulfillment.
- ...
- [[TopLevelCapability]]
- ...
- [[AsyncParentModules]]
- ...
- [[PendingAsyncDependencies]]
- ...
- [[Async]]
-
Table 4: Additional Abstract Methods of Cyclic Module Records
- ExecuteModule( [ promiseCapability ] )
- ...
- ExecuteModule( [ promiseCapability ] )
-
- ...
-
InnerModuleLinking ( module, stack, index )
- ...
-
Evaluate ( ) Concrete Method
- ...
-
InnerModuleEvaluation( module, stack, index )
- ...
-
ExecuteAsyncModule ( module )
- ...
-
GetCycleRoot ( module )
- ...
-
AsyncModuleExecutionFulfilled ( module )
- ...
-
AsyncModuleExecutionRejected ( module, error )
- ...
-
Source Text Module Records
- ...
-
ParseModule ( sourceText, realm, hostDefined )
- ...
-
ExecuteModule ( [ capability ] )
- ...
-
Runtime Semantics: TopLevelModuleEvaluationJob ( sourceText, hostDefined )
- ...
-
Modules
StatementListItem[~Yield, +Await, ~Return]
- Async Function Definitions (Syntax)
- ...
- Imports
- ...
- Exports
- ...
Note: There may be top level sections missings, so please keep an eye out for that.