回调是 Web API 绑定与 Javascript 引擎链接的唯一方式吗?

Are callbacks the only way a web API binding is linked with the Javascript engine?

在浏览器的上下文中,可以安全地说网络 API 绑定(例如:setTimeout())和 [=20= 之间唯一可能的 link ] 引擎是通过回调函数?

即:回调函数 -> 回调队列 -> 事件循环 -> Javascript 引擎

或者是否有一些本机代码可以使用其他机制与 Javascript 引擎进行通信?

Are callbacks the only way a web API binding is linked with the JavaScript engine?

没有。 document.createElement 是众多反例之一。

Are callbacks the only way an asynchronous web API binding is linked back to the Javascript engine?

是的。回调是 any 异步 API 工作的唯一方式,这几乎就是 "asynchronous API" 的定义。 (不只是在 JavaScript 或网络上。)