Skip to content

Commit 4a93d2e

Browse files
committed
rename
1 parent b1791b3 commit 4a93d2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/next/src/server/app-render/app-render.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,7 @@ async function renderToStream(
22952295
// Try to render the page and see if there's any cache misses.
22962296
// If there are, wait for caches to finish and restart the render.
22972297

2298-
const renderRestartable = async (
2298+
const renderInStages = async (
22992299
serverDebugChannel: DebugChannelServer | undefined,
23002300
signal: AbortSignal | undefined,
23012301
onPrerenderStageEnd: (() => void) | undefined
@@ -2355,7 +2355,7 @@ async function renderToStream(
23552355

23562356
console.debug(`renderToStream (1) :: attempting render`)
23572357

2358-
const reactServerStreamPromise = renderRestartable(
2358+
const reactServerStreamPromise = renderInStages(
23592359
initialRenderServerDebugChannel?.channel,
23602360
initialRenderReactController.signal,
23612361
() => {
@@ -2424,7 +2424,7 @@ async function renderToStream(
24242424
const finalRenderServerDebugChannel = debugChannel?.serverSide
24252425

24262426
reactServerResult = new ReactServerResult(
2427-
await renderRestartable(
2427+
await renderInStages(
24282428
finalRenderServerDebugChannel,
24292429
undefined,
24302430
() => {

0 commit comments

Comments
 (0)