基于 async/await 编写 Node.js 端口
作者: cocodrino创建于 2019年3月14日更新于 2019年3月14日
你好,这有点和我之前开设的另一个问题有关(抱歉我找不到这个问题),当时我想在 nodejs 中使用 async await 来贡献代码。我认为如果在同一个示例页面中能够通过 https://getbootstrap.com/docs/4.3/components/navs/ 这样的导航系统来切换当前代码、使用回调、实现 promise 和使用 async await 将会非常棒。我发现了使用 promise 的代码,我的 async await 实现在这里: https://GitHub.com/cocodrino/rabbitmq-tutorials-async-await。我想知道这是否可行,以及我如何才能合作。谢谢。
内容来源: rabbitmq/rabbitmq-tutorials