MCPcopy Create free account
hub / github.com/cryptii/cryptii / isBusy

Method isBusy

src/Pipe.js:721–724  ·  view source on GitHub ↗

* Returns true if at least one of the bricks is busy. * @return {boolean}

()

Source from the content-addressed store, hash-verified

719 * @return {boolean}
720 */
721 isBusy () {
722 return this._bricks.reduce((busy, brick) =>
723 busy || this._getBrickState(brick, 'busy'), false)
724 }
725
726 /**
727 * Returns lower bucket index for given brick.

Callers 2

getContentMethod · 0.95
brickDidFinishMethod · 0.95

Calls 1

_getBrickStateMethod · 0.95

Tested by

no test coverage detected