All you add is a callback function.
您仅需要添加一个回调函数。
So what's in the callback function?
那么回调函数中有什么?
I've also attached a callback function.
同时我也附加了一个回调函数。
Deal with the server's response in the callback function.
在回调函数中处理服务器的响应。
You pass in the URL and a string naming the callback function.
传递一个URL和命名回调函数的字符串。
Create the managed callback function.
创建托管回调函数。
A callback function that creates the provider object.
一个回调函数,用于创建提供程序对象。
When a response is received, the callback function is invoked.
在接收到响应后,调用回调函数。
The callback function is a standard construct in asynchronous APIs.
回调函数是异步api的标准结构。
Now define the callback function using the source code shown below.
现在,用如下所示的代码来定义这个回调函数。
A callback function invoked if the statement is executed successfully.
一个回调函数,在语句成功执行时调用。
Pointer to the callback function table of the native application.
指向本地应用程序的回调函数表。
A channel must be registered to listen for the callback function.
信道必须注册以侦听回调函数。
The callback function then uses the forEach method on the Array object.
该回调函数然后使用Array对象的forEach方法。
Listing 4 shows the callback function for the HTTP GET version function.
清单4显示了HTTPGET版本函数的回调函数。
This callback function will be invoked after the Worker script executes.
这个回调函数将在该worker脚本执行后调用。
You can pass an optional data object and callback function if you need them.
如果需要的话,您还可以传递一个可选的数据对象和回调函数。
The transaction function is called, and a callback function is passed to it.
此外,还会调用事务函数并向其传递一个回调函数。
We could define the callback function in the same code block, but with a name.
我们可以在同一个代码块中定义回调函数,但是使用一个名称。
Next, you have to create the callback function in your managed application.
接着,必须在托管应用程序中创建回调函数。
The second addition to the code concerns the registration of a callback function.
代码的第二个添加涉及一个回调函数的注册。
We ask an asynchronous service to do some work and give it a callback function.
我们请求一个异步服务去做点什么,并且给它一个回调函数。
Compact usage defining a callback function on the fly might look something like this.
定义一个简单用途的回调函数大概是如下的样子。
The arguments to this callback function include a transaction handle and a result set.
这个回调函数的参数包含一个事务句柄和一个结果集。
Then the request is set up, the callback function is assigned, and the request is sent.
之后,请求也设置好了,回调函数也已分配,请求亦发送完毕。
The arguments to this callback function include a transaction handle and an error object.
该回调函数的参数包括一个事务句柄和一个错误对象。
Note that every event callback function receives the editor instance as a parameter.
注意每个事件回调函数都会接收一个编辑器实例作为参数。
We could define the callback function somewhere else in the code so we know it's available.
我们可以在代码中的其他位置定义回调函数,因此我们知道它可用。
It also invokes the response callback function to confirm the deletion after the request completes.
它还能在请求完成后调用response回调函数来确认删除。
In order to attach your function to a message type, your function must match the standard callback function.
为了给信息类型附上一个函数,你的函数必须匹配标准的回调函数。
应用推荐