forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dynamicIO] update controller to be non-optional (vercel#72048)
Previously we used the controller a signal for whether the current dynamicIO prerender should abort early or not. Now we separate the controller which signals whether we've left the Prerneder phase from the signal that actually aborts the render in some cases. Now we can always scope a controller in the prerenderStore and depending on whether we are filling caches or not we will end the render early or let it continue. With this change the controller is always provided so we can reflect this in the type
- Loading branch information
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters