So what exactly goes on with this onmessage/postMessage paradigm?
那么这个 onmessage/postMessage 范型到底说明了什么?
Control returns immediately from PostMessage and the message gets processed later.
控制会从PostMessage立即返回,该消息是后来才处理的。
This data is then sent back to the parent thread by using the postMessage function.
该数据随后会被通过 postMessage 函数发送回母线程。
应用推荐