阅读背景:

使用afterRemote挂钩在远程方法上发送Loopback响应

来源:互联网 

I am trying to process a request that needs a mail to be sent. In order to respond to the request without waiting for the mail to be sent i am sending the mail on an afterRemote hook. The method seems to run correctly and the mail is sent, but for some reason the cb function is not executed and as a result on the client the request remains unanswered. The problem is on the code that follows, as you can see i have I am trying to process a request that needs a m




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

分享到: