This function returns the handle to the event object and can be used in subsequent calls to the event object.
这个函数返回事件对象的句柄,这样就可以在后续的调用中使用这个事件对象了。
It can also take another optional callback function to handle errors, but we have left that out to keep this example simple.
也可以利用另一个可选callback函数来处理错误,但是为了保持示例的简洁,我们放弃了使用它。
I've simply replaced all the printlns from the previous application and added a forward function to handle the view portion of the report.
我只是将以前应用程序中的所有println替换掉,并添加了forward函数来处理报告的视图部分。
Now both files can be included safely together, and we specify which namespace to use to handle our function call.
现在,两个文件可以安全地包含在一起,并且我们指定了处理函数调用所需使用的名称空间。
For example, in the initial state of Inactive, the only expected event is mouseover, so you can define a function to handle that situation, as shown in Listing 9.
例如,在Inactive的初始状态中,可能出现的惟一事件是mouseover,所以可以定义一个处理此情况的函数,见清单9。
The supports function specifies that the service will handle all classes.
supports函数规定,该服务将处理所有类。
This ensures that callers are properly validating the function result so that they can handle the appropriate errors.
这确保调用者适当地检验函数结果,从而能够适当地处理错误。
The primary purpose of the callback function is to allow you to handle all the challenges thrown your way by the PAM service.
这个回调函数的主要用途是处理PAM服务抛出的所有询问。
Unfortunately, once you start writing general predicates describing the values you would like to handle within a particular function body, it becomes easy to create ambiguous conditions.
不幸的是,一旦您开始编写通用的断言来描述自己希望在某个特定的函数体中处理的值时,就很容易创建一些模糊的条件。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
This function literal does a pattern match on the message instance to decide how to handle the message.
这个字面函数给消息做了一个模式匹配来决定它被如何处理。
These measurements could be regarding how often a certain function in your application is accessed, or how long a request took to handle.
这些度量值包括访问应用程序中某个函数的频率或处理一个请求花费的时间等。
To have better function, the rotating handle of the screwdriver is provided with a force applying device.
为更好地完成功能,本发明所提供螺钉旋具的旋柄上还设计有加力装置。
We discussed the data binding and function selector code that is required to handle incoming and outgoing JMS messages, as well as the necessary binding properties for the export and import.
我们讨论了处理传入和传出的JMS消息所必需的数据绑定和函数选择器代码,以及导出和导入所需的绑定属性。
The IFERROR function solves these problems, enabling customers to easily trap and handle formula errors.
IFERROR函数解决了这些问题,它可以让用户方便地截获并处理公式算出的错误值。
Upon a successful opening, this function returns the handle to the semaphore so that it can be used in the subsequent calls.
在成功打开信号量之后,这个函数就会返回这个信号量的句柄,这样就可以在后续的调用中使用它了。
This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.
这个函数使用一个信号量对象的句柄作为参数,并会一直等待下去,直到其状态变为有信号状态或超时为止。
This function creates the semaphore and returns the handle to the semaphore.
这个函数创建信号量,并返回这个信号量的句柄。
If digestdoc did not result in error 4091 Invalid universal id, the script passes the handle of the document back to the calling function.
如果digestdoc没有导致错误4091Invaliduniversalid,脚本会将文档的句柄传递回调用的函数。
This sample is a handle event called getFeedFromURL, which can receive a string as payload and invoke the function handleGetFeedFromURL when it is triggered.
该样例是一个称为getFeedFromURL 的处理事件,该事件可以接受一个字符串作为负载并在被触发时调用函数handleGetFeedFromURL。
The handle of the window that currently has the Clipboard open if the function is successful; otherwise NULL.
如果函数执行成功,则返回当前打开剪贴板的窗口的句柄;否则返回NULL。
These functions take environment, connection, statement, or descriptor handles as input and return the diagnostic information related to the last function call made using that handle.
这些函数以环境句柄、连接句柄、语句句柄或描述符句柄作为输入参数,返回与上一次使用该句柄作出的函数调用相关的诊断信息。
All of the above solutions use a simple loop to wait and handle requests, before dispatching the request to a separate function to handle the actual network interaction.
上面的所有解决方案都用简单的循环等待并处理请求,然后把请求分派给另一个函数以处理实际的网络交互。
The handleData function is implemented to handle JSON data, but you can customize it to handle other data types if you choose.
handleData函数被实现为处理JSON数据,但是可以对它进行定制,使之处理其他数据类型。
However, sometimes you might prefer to specify a range but then have the function called only once, and then handle the range semantics within the function itself.
然而,有时希望指定一个范围,但是只调用一次函数,然后在函数内部处理范围语义。
If the remote data source cannot handle the null value in a host variable or parameter marker, any function that involves binding a nullable value has to be evaluated locally.
如果远程数据源不能处理主机变量或参数标记符中的NULL,那么任何需要绑定一个可以为空的值的函数都必须在本地计算。
To handle a request the Akshell core evaluates the main.js file of an application and runs the app() function exported by it, passing a request object to the function.
为了处理请求,Akshell核心会评估应用程序的main.js文件,并执行它所导出的app()函数,将请求对象传递给这个函数。
Main : the main function creates the socket to be used for listening to connections, and then creates the callback for accept to handle each connection through the event handler.
main:主函数创建用来监听连接的套接字,然后创建accept的回调函数以便通过事件处理函数处理每个连接。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
应用推荐