Intermediate
Go (Golang)
Q56 / 100
What is the context package's cancellation propagation?
Correct! Well done.
Incorrect.
The correct answer is B) Cancelling a parent context automatically cancels all derived child contexts
B
Correct Answer
Cancelling a parent context automatically cancels all derived child contexts
Explanation
ctx, cancel := context.WithCancel(parent) — calling cancel() propagates cancellation to all contexts derived from ctx.
Progress
56/100