MCPcopy Index your code
hub / github.com/nodejs/node / paramsAfterFlushCallback

Function paramsAfterFlushCallback

lib/zlib.js:696–704  ·  view source on GitHub ↗
(level, strategy, callback)

Source from the content-addressed store, hash-verified

694// `params()` function should not happen while a write is currently in progress
695// on the threadpool.
696function paramsAfterFlushCallback(level, strategy, callback) {
697 assert(this._handle, 'zlib binding closed');
698 this._handle.params(level, strategy);
699 if (!this.destroyed) {
700 this._level = level;
701 this._strategy = strategy;
702 if (callback) callback();
703 }
704}
705
706Zlib.prototype.params = function params(level, strategy, callback) {
707 checkRangesOrGetDefault(level, 'level', Z_MIN_LEVEL, Z_MAX_LEVEL);

Callers

nothing calls this directly

Calls 3

assertFunction · 0.70
callbackFunction · 0.50
paramsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…