File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,10 @@ async function matchRSCServerRequest({
9595 generateResponse: (
9696 match : RSCMatch ,
9797 {
98+ onError,
9899 temporaryReferences,
99100 }: {
101+ onError(error : unknown ): string | undefined ;
100102 temporaryReferences: unknown ;
101103 },
102104 ) => Response ;
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ async function routeRSCServerRequest({
7676 createFromReadableStream: SSRCreateFromReadableStreamFunction ;
7777 renderHTML: (
7878 getPayload : () => DecodedPayload ,
79+ options : {
80+ onError(error : unknown ): string | undefined ;
81+ onHeaders(headers : Headers ): void ;
82+ },
7983 ) => ReadableStream <Uint8Array > | Promise <ReadableStream <Uint8Array >>;
8084 hydrate? : boolean ;
8185}): Promise <Response >
You can’t perform that action at this time.
0 commit comments