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
比如做成接口的时候前端请求一个任务,等待任务完成返回数据。
The text was updated successfully, but these errors were encountered:
因为任务的执行是异步的,所以这里无法等待任务完成返回数据。但是我提供一种方案: 每个任务生成一个唯一ID,然后任务提交之后阻塞等待,直到等到此任务的结果,然后返回数据,这样就会造成一种同步的假象。
Sorry, something went wrong.
No branches or pull requests
比如做成接口的时候前端请求一个任务,等待任务完成返回数据。
The text was updated successfully, but these errors were encountered: