MCPcopy Index your code
hub / github.com/resend/react-email / onAllReady

Function onAllReady

packages/render/src/node/render.tsx:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 </ErrorBoundary>,
52 {
53 async onAllReady() {
54 html = await readStream(stream).then((s: string) => {
55 // Workaround for https://github.com/facebook/react/pull/26228
56 // (fixed in React 19, not backported to 18)
57 return s.replaceAll('\0', '');
58 });
59 resolve();
60 },
61 onError(error) {
62 reject(error);
63 },

Callers

nothing calls this directly

Calls 1

readStreamFunction · 0.90

Tested by

no test coverage detected