MCPcopy
hub / github.com/ThatGuySam/doesitarm / abort

Method abort

helpers/scanner/file-api.ts:173–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 }
172
173 abort () {
174 if ( this.readyState === this.DONE ) {
175 return
176 }
177
178 this.readyState = this.DONE
179 this.dispatchEvent( 'abort' )
180 }
181
182 readAsArrayBuffer ( file: NodeFile ) {
183 this.readFile( file, 'buffer' )

Callers

nothing calls this directly

Calls 1

dispatchEventMethod · 0.95

Tested by

no test coverage detected