- Building Microservices with Go
- Nic Jackson
- 47字
- 2021-07-15 17:28:04
WithCancel
The WithCancel method returns a copy of the parent context with a cancel function, calling the cancel function releases resources associated with the context and should be called as soon as operations running in the Context type are complete:
func WithCancel(parent Context) (ctx Context, cancel CancelFunc)
推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- HornetQ Messaging Developer’s Guide
- 一步一步學Spring Boot 2:微服務項目實戰(zhàn)
- Leap Motion Development Essentials
- 嚴密系統(tǒng)設計:方法、趨勢與挑戰(zhàn)
- Elasticsearch for Hadoop
- Android玩家必備
- Procedural Content Generation for C++ Game Development
- Python計算機視覺和自然語言處理
- JQuery風暴:完美用戶體驗
- Keil Cx51 V7.0單片機高級語言編程與μVision2應用實踐
- C語言程序設計教程
- C語言編程魔法書:基于C11標準
- Microsoft XNA 4.0 Game Development Cookbook
- Visual C++實用教程