We didn't specify which function callback would be applied as the second argument, just that a function callback would be applied.
我们并没有指定哪个回调函数会被用作第二个参数,只需要是一个回调函数就可以了。
We care that the server resource name is correct and that the second argument is a callback function.
我们关心服务器资源名称是正确的,并且第二个参数是一个回调函数。
This means that you must put any dependent code inside the callback function, or inside functions that are called by the callback function.
这意味着您必须将任何依赖代码放在回调函数内,或者放在由回调函数调用的函数内。
When a statement executes (1), the trigger is called (2). The trigger registers a callback function (3) to write the result to a file.
当一个语句执行时(1),触发器被调用(2)。触发器注册一个回调函数(3),以便将结果写入一个文件。
This approach relies on the remote service accepting a callback function name as a request parameter.
这种方法依赖于接受回调函数名作为请求参数的远程服务。
This code includes a callback function when your service responds successfully to your asynchronous request.
代码中包含服务成功响应异步请求时调用的回调函数。
If a path is registered, it USES the defined function as a callback to produce the content presented.
如果注册了一个路径,它就使用定义的回调函数来生成要显示的内容。
Each time a corresponding client socket contains any read, write or error operations, the corresponding callback function is called.
每当对应的客户端套接字包含读、写或错误操作时,调用对应的回调函数。
Pointer to the callback function to be invoked (for one or more event Types) — for each specific event, register a callback function, and then these functions are called when the event occurs.
指向要调用的回调函数的指针(对于一种或多种事件类型)——为每种特定的事件注册一个回调函数,然后将在事件发生时调用这些函数。
To do this, make a HEAD request and then check for a 404 error in your callback function; Listing 11 shows a sample callback.
要实现这种功能,生成一个HEAD请求,然后在回调函数中检查404错误;清单11给出了一个简单的回调函数。
In that case, the server response is handled by the callback function when the server response arrives at the browser.
在这种情况下,当服务器响应到达浏览器时,回调函数会处理服务器响应。
It takes the file path to the file being requested, the serialized form data, and finally a callback function.
它将文件路径指向被请求的文件、序列化数据、最后是一个回调函数。
A callback function is passed to the method when it is invoked to capture the return value.
当该方法被调用来获取返回值时,一个回调函数会传递给此方法。
Listing 10 provides a simple callback function to output all the response headers from a head request.
清单10提供了一个简单的回调函数,用来输出从HEAD请求中获得的响应头的内容。
The URL usually includes a "callback" parameter, which is the name of the callback function that you want invoked.
该URL通常包含一个“回调”参数,它是您想要调用的回调函数的名称。
Moreover, you can also specify a callback function if you request JSON data from the service.
此外,如果您向服务请求JSON数据,还可指定回调函数。
Using a callback function means I don't need to know when the server is finished loading the JSON data.
利用回调函数完全不需要知道服务器什么时候完成JSON数据的加载。
Although it returns a JSONP reply, it doesn't let you define a callback function name in the URL.
尽管返回了JSONP回复,但它不允许您在URL中定义回调函数名。
Note that displayCart() is a callback function invoked with the Cart response data from the server.
请注意displayCart()是一个回调函数,由服务器返回的Cart响应数据调用。
When you call the server using Ajax, the resulting response calls back through a callback function.
在使用Ajax调用服务器时,产生的响应是通过调用一个回调函数返回的。
The callback function specified in req.onreadystatechange is invoked when the server responds to the request.
在req.onreadystatechange 内指定的回调函数在服务器响应请求的时候调用。
When the service responds, the callback function in the Rich UI handler is invoked.
当此服务响应时,这个RichUI处理程序中的回调函数将被调用。
Each callback function takes no arguments and returns Unit.
每一个回调函数都不接受参数,并且返回unit。
This code registers a callback function called cbfunc().
这个代码注册一个名为 cbfunc() 的回调函数。
This function provides the same processing as do_auditing2 but changes the callback function slightly.
这个函数提供的处理与do_auditing 2相同,但略微修改了回调函数。
If a callback function is provided, this function sets the onreadystatechange property of the XHR object to that callback function.
如果提供了回调,那么这个函数将XHR对象的onreadystatechange属性设置为这个回调函数。
This state object is passed to your timer callback function during each timer event invocation.
在每一个定时器事件被调用时该state对象作为一个参数传递给你的定时回调函数。
For the error callback function, you pass a simple closure that simply displays the error information.
如果callback函数失败,就传递一个显示失败信息的终止参数。
When the timer expires, the callback function (my_timer_callback) is invoked.
当计时器过期时,将调用回调函数my _ timer_callback。
When the timer expires, the callback function (my_timer_callback) is invoked.
当计时器过期时,将调用回调函数my _ timer_callback。
应用推荐