阅读背景:

对成功构建的对象进行编码的大多数惯用方法依赖于Nodejs中的http调用

来源:互联网 

I am new to node and I'm currently wrestling with finding the most iodomatic way to create an object whose construction depends on the results of an http query. The object is useless until the query is returned and parsed successfully so it feels wrong to return from the constructor without my object being initialized but everything I've read about node says I should keep things asynchronous. I am new to node and I'm currently wrestling wi




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

分享到: