通过 pool.Submit() 提交的协程任务,如果协程 panic 了是否可以自动拉起? #291
Answered
by
panjf2000
fighterhit
asked this question in
Q&A
-
通过 pool.Submit() 提交的协程任务,如果协程 panic 了是否可以自动拉起? |
Beta Was this translation helpful? Give feedback.
Answered by
panjf2000
Jul 26, 2023
Replies: 1 comment
-
https://pkg.go.dev/github.com/panjf2000/ants/v2#WithPanicHandler |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fighterhit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://pkg.go.dev/github.com/panjf2000/ants/v2#WithPanicHandler