mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
update flight readme wording (#31466)
This commit is contained in:
parent
6e29479bff
commit
ed15d5007c
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user