MCPcopy Index your code
hub / github.com/simstudioai/sim / onAbort

Function onAbort

apps/sim/lib/file-parsers/csv-preview-slice.ts:55–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}: CsvPreviewSliceArgs): Promise<CsvPreviewSlice> {
54 const source = await downloadFileStream({ key, context })
55 const onAbort = () => source.destroy()
56 signal?.addEventListener('abort', onAbort, { once: true })
57
58 const reader = source[Symbol.asyncIterator]()

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected