由于这个回调程序体很小,所以我们将整个函数内嵌为一个匿名子例程来完成。
Since the body of the callback is trivial here, we've defined the entire function inline as an anonymous subroutine.
构造一个回调,此回调可以运行和执行程序想要对服务器数据进行的任何操作。
Construct a callback that runs and does whatever your program needs to do with the server data.
然后,在对输入文档进行处理的时候,它使用代码中的处理程序作为回调。
It then USES the handler for call-backs into your code as it processes the input document.
应用推荐