From ed15d5007ca7ee4d61294c741ce3e858d3c1d461 Mon Sep 17 00:00:00 2001 From: Josh Story Date: Sun, 10 Nov 2024 11:58:52 -0800 Subject: [PATCH] update flight readme wording (#31466) --- packages/react-server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-server/README.md b/packages/react-server/README.md index 276a37fd5f..60637bbff6 100644 --- a/packages/react-server/README.md +++ b/packages/react-server/README.md @@ -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`