Function
resumeToAfter
(resume: "tail" | "full" | number | undefined)
Source from the content-addressed store, hash-verified
| 231 | } |
| 232 | |
| 233 | function 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 |
Tested by
no test coverage detected