We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文档中说 yield 关键字在这里的作用就是,可以等待调用完成并返回 promise 所包含的值 但是在实际上运行上,yield偶发返回promise对象。
The text was updated successfully, but these errors were encountered:
有没有可以复现这个问题的例子
Sorry, something went wrong.
嗯~这个目前也是偶现的,我这边开发复现的概率比较高,目前是做了兼容处理 $co_yield = yield $collection_co_result; if(is_object($co_yield)) { $co_yield = $co_yield->getValue(); } $collection_list = unserialize($co_yield);
$co_yield = yield $collection_co_result; if(is_object($co_yield)) { $co_yield = $co_yield->getValue(); } $collection_list = unserialize($co_yield);
No branches or pull requests
文档中说
yield 关键字在这里的作用就是,可以等待调用完成并返回 promise 所包含的值
但是在实际上运行上,yield偶发返回promise对象。
The text was updated successfully, but these errors were encountered: