proposal-async-await:ECMAScript的Asyncawait

时间:2021-03-31 21:57:26
【文件属性】:
文件名称:proposal-async-await:ECMAScript的Asyncawait
文件大小:23KB
文件格式:ZIP
更新时间:2021-03-31 21:57:26
HTML ECMAScript的异步功能 在ECMAScript中引入Promises和Generators提供了一个机会,可以极大地改进用于在ECMAScript中编写异步代码的语言级模型。 规格文本可在找到。 这项提议是在中实现的,该可以编译包含async ES5代码,并await直到原始ES5才能在现有的浏览器和运行时中运行。 此回购包含使用提案大量功能的完整示例。 要运行此示例: npm install regenerator -r server.asyncawait.js | node
【文件预览】:
proposal-async-await-master
----package.json(1KB)
----LICENSE(11KB)
----spec()
--------syntax.html(3KB)
--------methods.html(3KB)
--------index.html(1001B)
--------modified-abstract-operations.html(3KB)
--------declarations-and-expressions.html(9KB)
--------modified-productions.html(14KB)
--------arrows.html(9KB)
--------intro.html(4KB)
--------async-function-objects.html(6KB)
--------annex.html(2KB)
--------abstract-operations.html(7KB)
----.gitignore(13B)
----request.js(303B)
----README.md(687B)
----server.asyncawait.js(2KB)
----Promise.js(323B)

网友评论