Propagate cancellation through the call chain
Mid · debugging · 30 min · runtime go
Brief
A handler keeps querying and writing after the client disconnects. Explain how to thread context.Context through every call and what each layer must do when ctx.Done() is closed.
3 progressive hints are available in the editor.
Public checks
- names propagation — expected:
mentions passing ctx through the call chain