Removed juusto rps (because I have one)

This commit is contained in:
Ecolipsy 2021-12-02 17:22:41 +01:00
parent 6379ecdaf5
commit 102963c5b7
933 changed files with 242781 additions and 356 deletions

33
node_modules/mysql/lib/protocol/Timer.js generated vendored Normal file
View file

@ -0,0 +1,33 @@
var Timers = require('timers');
module.exports = Timer;
function Timer(object) {
this._object = object;
this._timeout = null;
}
Timer.prototype.active = function active() {
if (this._timeout) {
if (this._timeout.refresh) {
this._timeout.refresh();
} else {
Timers.active(this._timeout);
}
}
};
Timer.prototype.start = function start(msecs) {
this.stop();
this._timeout = Timers.setTimeout(this._onTimeout.bind(this), msecs);
};
Timer.prototype.stop = function stop() {
if (this._timeout) {
Timers.clearTimeout(this._timeout);
this._timeout = null;
}
};
Timer.prototype._onTimeout = function _onTimeout() {
return this._object._onTimeout();
};