postmessage
网络释义:消息;消息跨线程发送;消息是异步的
网络释义
1.消息的,整个报文系统是建立在窗体结构之下的;如若传递的消息是异步的(PostMessage),异步的意思是我这边先运行没关系 …
4.消息方式2.如果将输出改成异步消息方式(PostMessage),程序改动太多,有无其他解决的方式,还是说上述这种情况不能使用invoke方式. #1…
例句释义:,消息,消息跨线程发送,消息是异步的1.This function uses the Post Message protocol and works in the latest versions of most browsers and is preferable.该函数使用PostMessage协议并在大多数浏览器的最新版本中工作。
2.When you finish processing the data in the Worker script, you invoke the postMessage function to send data back to the main thread.当您处理完Worker脚本中的数据时,调用postMessage函数将数据返回主线程。
3.Finally, to initiate the worker, call postMessage with some data for it to work on.最后,为了初始化这个worker,用一些数据调用postMessage以便它能工作起来。
4.Control returns immediately from PostMessage and the message gets processed later.控制会从PostMessage立即返回,该消息是后来才处理的。
5.The data you passed from the page script is passed to the postMessage function in the message object.从页面脚本传来的数据被传递到message对象中的postMessage函数。
6.To send the thread a message, the postMessage method on the Worker instance is invoked.要向线程发送一个消息,需要调用Worker实例上的postMessage方法。
7.The object passed in to postMessage becomes the data property on the object passed to the onmessage method.这样一来,传递给postMessage的这个对象就成为了传递给onmessage方法的那个对象的数据属性。
8.This data is then sent back to the parent thread by using the postMessage function.该数据随后会被通过postMessage函数发送回母线程。
9.If you go back to Listing 2, the postMessage method on the Worker instance is invoked.如果回到清单2,那里调用的是Worker实例上的postMessage方法。
10.This is invoked when you call postMessage from the main thread.该函数在您从主线程调用postMessage时调用。