MCPcopy Index your code
hub / github.com/vercel/hyper / constructor

Method constructor

bin/yarn-standalone.js:35925–35937  ·  view source on GitHub ↗
(alias, maxConcurrency = Infinity)

Source from the content-addressed store, hash-verified

35923
35924class BlockingQueue {
35925 constructor(alias, maxConcurrency = Infinity) {
35926 this.concurrencyQueue = [];
35927 this.maxConcurrency = maxConcurrency;
35928 this.runningCount = 0;
35929 this.warnedStuck = false;
35930 this.alias = alias;
35931 this.first = true;
35932
35933 this.running = (0, (_map || _load_map()).default)();
35934 this.queue = (0, (_map || _load_map()).default)();
35935
35936 this.stuckTick = this.stuckTick.bind(this);
35937 }
35938
35939 stillActive() {
35940 if (this.stuckTimer) {

Callers

nothing calls this directly

Calls 2

_load_mapFunction · 0.85
bindMethod · 0.80

Tested by

no test coverage detected