Loading…
|
Translation changed |
|
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
Translation changed |
|
|
String added in the repository |
|
A generator has completed when no new buffer will be produced and previously produced buffers have been fully consumed.
[*Note:] The result of invoking `prepare` on `g` once it has completed is unspecified.
用于查询该生成器的调用此函数以向生成器(generator)查询其完成状态。当
该生成器不再产生新的缓冲区,且先前之前已产生的缓冲区已被完全调用时,该消费时,即表示生成器即为已完成。[
重要提示:] 一旦该生成器已完成,再*注意:] 在生成器 g 完成后,对其调用`prepare`的结果是未定义的(unspecified)。