Cancel blocking function/go-routine execution

前端 未结 0 1257
生来不讨喜
生来不讨喜 2020-12-18 08:05

I am trying to cancel the execution of a given blocking function running in background like so:

go func () {
  runB         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题