MCPcopy Create free account
hub / github.com/cloudflare/computer / resumeToAfter

Function resumeToAfter

packages/computer/src/shell.ts:233–237  ·  view source on GitHub ↗
(resume: "tail" | "full" | number | undefined)

Source from the content-addressed store, hash-verified

231}
232
233function resumeToAfter(resume: "tail" | "full" | number | undefined): number | "tail" | undefined {
234 if (resume === undefined || resume === "full") return undefined;
235 if (resume === "tail") return "tail";
236 return resume;
237}
238
239// Stitch the runtime extras (id, result, kill) onto a fresh
240// ReadableStream that pipes from the wire stream and applies any

Callers 1

getMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected