MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / abort

Method abort

frontend/src/lib/streamReader.ts:186–189  ·  view source on GitHub ↗

* Abort reading the stream

()

Source from the content-addressed store, hash-verified

184 * Abort reading the stream
185 */
186 abort(): void {
187 this.aborted = true;
188 this.reader.cancel().catch(console.error);
189 }
190
191 /**
192 * Get the number of bytes processed so far

Callers 7

readLinesMethod · 0.95
validateConnectionMethod · 0.80
generateCompletionMethod · 0.80
fetchWithTimeoutMethod · 0.80
inspectorStore.tsFile · 0.80
useRemoteFileImportFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected