Created
November 28, 2017 22:52
-
-
Save diegovgsilva95/5643a5e24aa35c6fba0bc0e382addefd to your computer and use it in GitHub Desktop.
JSDoc for Timeout object (timers.setInterval / timers.setTimeout, prototype of "this" at callback context) #nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @typedef {object} Timeout | |
* @prop {boolean} _called | |
* @prop {number} _idleTimeout | |
* @prop {object} _idlePrev | |
* @prop {object} _idleNext | |
* @prop {number} _idleStart | |
* @prop {function} _onTimeout | |
* @prop {any[]} _timerArgs | |
* @prop {number} _repeat | |
* @prop {boolean} _destroyed | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment