update flight readme wording (#31466)

This commit is contained in:
Josh Story
2024-11-10 11:58:52 -08:00
committed by GitHub
parent 3b848123d9
commit c247c97dfa
+1 -1
View File
@@ -248,7 +248,7 @@ a destination is whatever the implementation wants to use for storing the output
### `stopFlowing(request: Request): void`
If you need to pause or permanently end the writing of any additional serialized output for this request you can call `stopFlowing(request)`. You may start flowing again after you've stopped. This is how you would implement backpressure support for streams for instance. It's important to note that stopping flowing is not going to stop rendering it simply causes the request to buffer any serialized chunks until they are requested again with `startFlowing()`.
If you need to pause or permanently end the writing of any additional serialized output for this request you can call `stopFlowing(request)`. You may start flowing again after you've stopped. This is how you would implement backpressure support for streams for instance. It's important to note that stopping flowing is not going to stop rendering. If you want rendering to stop you must `abort` the request.
### `abort(request: Request): void`