Function callback when an assertion fails.
断言失败时的函数调用。
We could define the callback function in the same code block, but with a name.
我们可以在同一个代码块中定义回调函数,但是使用一个名称。
The arguments to this callback function include a transaction handle and an error object.
该回调函数的参数包括一个事务句柄和一个错误对象。
All you add is a callback function.
您仅需要添加一个回调函数。
You can pass an optional data object and callback function if you need them.
如果需要的话,您还可以传递一个可选的数据对象和回调函数。
The arguments to this callback function include a transaction handle and a result set.
这个回调函数的参数包含一个事务句柄和一个结果集。
We could define the callback function somewhere else in the code so we know it's available.
我们可以在代码中的其他位置定义回调函数,因此我们知道它可用。
Within the callback function, the returned data can be processed.
在该回调函数内,可能处理返回的数据。
So what's in the callback function?
那么回调函数中有什么?
The second addition to the code concerns the registration of a callback function.
代码的第二个添加涉及一个回调函数的注册。
A callback function invoked if the statement is executed successfully.
一个回调函数,在语句成功执行时调用。
I've also attached a callback function.
同时我也附加了一个回调函数。
Deal with the server's response in the callback function.
在回调函数中处理服务器的响应。
The transaction function is called, and a callback function is passed to it.
此外,还会调用事务函数并向其传递一个回调函数。
You pass in the URL and a string naming the callback function.
传递一个URL和命名回调函数的字符串。
Listing 4 shows the callback function for the HTTP GET version function.
清单4显示了HTTPGET版本函数的回调函数。
As a part of the request, the callback function is also defined.
在这个请求中,还定义回调函数。
Callback - a reference to a function that will be called when the request returns.
callback—指的是当请求返回时将要调用的函数的引用。
Callback is a function that is called with the received message.
callback是接收的消息调用的函数。
Now define the callback function using the source code shown below.
现在,用如下所示的代码来定义这个回调函数。
This callback function will be invoked after the Worker script executes.
这个回调函数将在该worker脚本执行后调用。
Compact usage defining a callback function on the fly might look something like this.
定义一个简单用途的回调函数大概是如下的样子。
It also invokes the response callback function to confirm the deletion after the request completes.
它还能在请求完成后调用response回调函数来确认删除。
的方法和一个回调函数。
The callback function then uses the forEach method on the Array object.
该回调函数然后使用Array对象的forEach方法。
In which case the callback function should be void callback (XML x).
在这种情况下,回调函数应该是voidcallback (XML x)。
Thus, you specify a new callback function, processResults.
因此,您指定一个新的callback函数processresults。
Set the xhr callback function. xhr.onreadystatechange()
设置xhr回调函数。
Callback function (null if no callback is needed).
回调函数(如果不需要回调,就是null)。
Within the callback function, we compare the newly returned value and the previous value.
在回调函数中,我们将新返回的值与以前一个值进行了比较。
应用推荐