Closed Ralith closed 4 months ago
I tried to cover that in the type-level documentation, to limit repetition:
A
read
method is said to be cancel-safe when dropping its future before the future becomes ready cannot lead to loss of stream data.
i.e. the non-safe scenario does not provide that guarantee. Does that need to be further clarified? It's a fairly precise statement already.
Yeah, I guess it's good enough.
Fixes #1763.