MCPcopy Create free account
hub / github.com/pillarjs/multiparty / getReadableStreamPipeCount

Function getReadableStreamPipeCount

test/test.js:1643–1649  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

1641}
1642
1643function getReadableStreamPipeCount (stream) {
1644 var count = stream._readableState.pipesCount
1645
1646 return typeof count !== 'number'
1647 ? stream._readableState.pipes.length
1648 : count
1649}
1650
1651function isReadableStreamFlowing (stream) {
1652 return Boolean(stream._readableState.flowing)

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…