Closed zhaoyou closed 10 years ago
什么意思?你期望的代码是什么?
@ktmud 我想在回调函数(调用第三方服务)里面回复内容。
@zhaoyou handler 天然可以写成异步的形式啊,你只需调用第三方服务,把结果用callback传过去就好了
https://github.com/node-webot/webot-example/blob/25a542fbd8fb44e624419de04206725522278348/rules/index.js#L243-L257
也许是文档说得不够清楚,我改一下
@ktmud Thanks. 我太懒了,没有看源码。
什么意思?你期望的代码是什么?