阅读背景:

如何在Ruby中“关闭”枚举器?

来源:互联网 

I have an enumerator that loops on data from an external API. The API requests that I notify it when I'm done looping. This is pretty easy when the enumerator is allowed to go until it runs out of data:I have an enumerator that loops on data from an




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

分享到: