MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / prewarmAppPlane

Function prewarmAppPlane

apps/cloud/src/server.ts:297–305  ·  view source on GitHub ↗
(ctx: ExecutionContext)

Source from the content-addressed store, hash-verified

295// request that triggered it, and the next real app-plane request re-imports
296// through the same memo and surfaces the error where it belongs.
297const prewarmAppPlane = (ctx: ExecutionContext): void => {
298 if (appGraphEntered) return;
299 ctx.waitUntil(
300 getAppPlane().then(
301 () => undefined,
302 () => undefined,
303 ),
304 );
305};
306
307const cloudflareHandler = {
308 fetch: async (request, env, ctx) => {

Callers 1

server.tsFile · 0.85

Calls 2

getAppPlaneFunction · 0.85
waitUntilMethod · 0.65

Tested by

no test coverage detected