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

Function isCancellationExitCode

packages/computer/src/runtime/runtime.ts:451–453  ·  view source on GitHub ↗
(exitCode: number)

Source from the content-addressed store, hash-verified

449}
450
451function isCancellationExitCode(exitCode: number) {
452 return exitCode === 129 || exitCode === 130 || exitCode === 137 || exitCode === 143;
453}
454
455function join(chunks: Uint8Array[], encoding: ExecEncoding): string | Uint8Array {
456 const size = chunks.reduce((total, chunk) => total + chunk.byteLength, 0);

Callers 1

wrapCommandHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected