Skip to content
New issue

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

自定义进程,怎么调用task::async呢?2.0.11 #1498

Open
kjlixx opened this issue May 12, 2023 · 3 comments
Open

自定义进程,怎么调用task::async呢?2.0.11 #1498

kjlixx opened this issue May 12, 2023 · 3 comments

Comments

@kjlixx
Copy link

kjlixx commented May 12, 2023

我想开一个进程,然后调用task异步来操作,请问swoft怎么实现

@kjlixx
Copy link
Author

kjlixx commented May 12, 2023

自定义用户进程,报错信息:
WARNING Server::reply_task_result(): Server::finish() can only be used in the worker process

@LGFModel
Copy link

一模一样:我想定时处理一些任务
定时异步处理,结果和你出现了一模一样的问题

@kjlixx
Copy link
Author

kjlixx commented Jul 25, 2023

@LGFModel 换了hyperf了😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants