阅读背景:

如何处理回调函数中的响应(例如,在nodejs中由cradle使用)

来源:互联网 

I'm using "express" and "cradle" in "nodejs". If I request my database I have to define a callback to handle the response. Unfortunately I have no access to res (response) in my callback function. What is the best practice for this problem? Here is my code.I'm using "express" and "cradle" in "nodejs". I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: