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

Function test2

test/parallel/test-fs-stream-double-close.js:42–47  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

40}
41
42function test2(stream) {
43 stream.destroy();
44 stream.on('open', common.mustCall(function(fd) {
45 stream.destroy();
46 }));
47}
48
49function test3(stream) {
50 stream.on('open', common.mustCall(function(fd) {

Callers 1

Calls 2

destroyMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected