由于网络调用嵌套在迭代器中,网络yield 被 coroutine.wrap 拦截。的迭代器,而不是被copas 拦截. 下面的例子显示了这个问题: local function iterator () for i = 1, 2 do ...
確定! 回上一頁