This code registers a callback function called cbfunc().
这个代码注册一个名为 cbfunc() 的回调函数。
When this happens (5), Informix calls the callback function (6).
这种情况发生时(5),Informix调用回调函数(6)。
Listing 6 shows the event handlers and the callback function of the sample widget.
清单6显示的是小部件样例的事件处理函数和回调函数。
The callback function gets a transaction object that it can use to execute SQL.
callback函数获得一个事务对象,用来执行SQL。
Then, your callback function can use that data, as seen in Listing 1 and Listing 4.
然后回调函数就可以使用这些数据,如清单1和 清单 4 所示。
When the service responds, the callback function in the Rich UI handler is invoked.
当此服务响应时,这个RichUI处理程序中的回调函数将被调用。
In my callback function I also add, somewhat superfluously, id attributes to my elements.
在回调函数中我也有些多余地为元素增加了id属性。
A callback function is passed to the method when it is invoked to capture the return value.
当该方法被调用来获取返回值时,一个回调函数会传递给此方法。
Moreover, you can also specify a callback function if you request JSON data from the service.
此外,如果您向服务请求JSON数据,还可指定回调函数。
This state object is passed to your timer callback function during each timer event invocation.
在每一个定时器事件被调用时该state对象作为一个参数传递给你的定时回调函数。
Although it returns a JSONP reply, it doesn't let you define a callback function name in the URL.
尽管返回了JSONP回复,但它不允许您在URL中定义回调函数名。
Create the Ajax callback function mapped to the desired process service implementation and method.
创建Ajax回调函数,这些回调函数被映射到所需的处理服务实现和方法。
The callback function creates a unique file name to write the audit records stored in named memory.
回调函数创建一个惟一文件名来写入已命名内存中存储的审计记录。
When you call the server using Ajax, the resulting response calls back through a callback function.
在使用Ajax调用服务器时,产生的响应是通过调用一个回调函数返回的。
We care that the server resource name is correct and that the second argument is a callback function.
我们关心服务器资源名称是正确的,并且第二个参数是一个回调函数。
This approach relies on the remote service accepting a callback function name as a request parameter.
这种方法依赖于接受回调函数名作为请求参数的远程服务。
Listing 10 provides a simple callback function to output all the response headers from a head request.
清单10提供了一个简单的回调函数,用来输出从HEAD请求中获得的响应头的内容。
Using a callback function means I don't need to know when the server is finished loading the JSON data.
利用回调函数完全不需要知道服务器什么时候完成JSON数据的加载。
It will also invoke the callback function response to confirm the update when the transaction completes.
它还将在事务完成时调用回调函数response来确认更新。
This code includes a callback function when your service responds successfully to your asynchronous request.
代码中包含服务成功响应异步请求时调用的回调函数。
The callback function specified in req.onreadystatechange is invoked when the server responds to the request.
在req.onreadystatechange 内指定的回调函数在服务器响应请求的时候调用。
The snippet in Listing 3 shows an example of a typical incarnation of the onreadystatechange callback function.
清单3中的代码片段显示了onreadystatechange回调函数的典型实例化示例。
Control then returns to the browser, but the callback function will be called when the server's response arrives.
然后控制就会返回浏览器,当服务器响应到达时,会调用回调函数。
The URL usually includes a "callback" parameter, which is the name of the callback function that you want invoked.
该URL通常包含一个“回调”参数,它是您想要调用的回调函数的名称。
The callback function can read the records that were saved in named memory (7) and write each record to a file (8).
回调函数可以读取保存在已命名内存中的记录(7)并将每条记录写入一个文件(8)。
In that case, the server response is handled by the callback function when the server response arrives at the browser.
在这种情况下,当服务器响应到达浏览器时,回调函数会处理服务器响应。
You initialize your hrtimer with a call to hrtimer_init (using the monotonic clock), and then set the callback function.
然后,通过调用hrtimer_init来初始化您的hrtimer(使用单一时钟),并设置回调函数。
set_trace_func allows to set Ruby callback function or Proc, which is invoked every time a line of Ruby code is executed.
set_trace_func允许设置Ruby回调函数或者Proc,它们在每一行Ruby代码执行的时候都会被调用一次。
Lambda functions are handy for a number of instances, most notably for many PHP functions that accept a callback function.
对于大多数实例来说,尤其对于接受回调函数的许多php函数来说,Lambda函数非常方便。
Lambda functions are handy for a number of instances, most notably for many PHP functions that accept a callback function.
对于大多数实例来说,尤其对于接受回调函数的许多php函数来说,Lambda函数非常方便。
应用推荐