MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / onAllReady

Function onAllReady

examples/remix/app/entry.server.tsx:57–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 />,
56 {
57 onAllReady() {
58 shellRendered = true;
59 const body = new PassThrough();
60 const stream = createReadableStreamFromReadable(body);
61
62 responseHeaders.set("Content-Type", "text/html");
63
64 resolve(
65 new Response(stream, {
66 headers: responseHeaders,
67 status: responseStatusCode,
68 })
69 );
70
71 pipe(body);
72 },
73 onShellError(error: unknown) {
74 reject(error);
75 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected