MCPcopy Index your code
hub / github.com/SocketCluster/socketcluster / write

Method write

app/public/socketcluster-client.js:8653–8663  ·  view source on GitHub ↗
(packet)

Source from the content-addressed store, hash-verified

8651 }
8652
8653 write(packet) {
8654 if (this._timeoutId !== undefined) {
8655 clearTimeout(this._timeoutId);
8656 delete this._timeoutId;
8657 }
8658 this.applyBackpressure(packet);
8659 if (this._resolve) {
8660 this._resolve();
8661 delete this._resolve;
8662 }
8663 }
8664
8665 kill(value) {
8666 if (this._timeoutId !== undefined) {

Callers 8

fromStringFunction · 0.45
writeFloatFunction · 0.45
writeDoubleFunction · 0.45
writeMethod · 0.45
closeMethod · 0.45
_writeMethod · 0.45
createSuccessFunction · 0.45

Calls 1

applyBackpressureMethod · 0.95

Tested by

no test coverage detected