MCPcopy Index your code
hub / github.com/websockets/ws / dequeue

Method dequeue

lib/sender.js:536–543  ·  view source on GitHub ↗

* Executes queued send operations. * * @private

()

Source from the content-addressed store, hash-verified

534 * @private
535 */
536 dequeue() {
537 while (this._state === DEFAULT && this._queue.length) {
538 const params = this._queue.shift();
539
540 this._bufferedBytes -= params[3][kByteLength];
541 Reflect.apply(params[0], this, params.slice(1));
542 }
543 }
544
545 /**
546 * Enqueues a send operation.

Callers 2

getBlobDataMethod · 0.95
dispatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected