MCPcopy Index your code
hub / github.com/nodejs/node / cancel

Method cancel

test/parallel/test-whatwg-readablestream.js:1121–1125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1119 }
1120
1121 cancel() {
1122 // eslint-disable-next-line node-core/must-call-assert
1123 assert.strictEqual(this, source);
1124 this.cancelCalled = true;
1125 }
1126 }
1127
1128 const source = new Source();

Calls

no outgoing calls

Tested by

no test coverage detected