Uh oh!
There was an error while loading. Please reload this page.
timers: deprecate active() and _unrefActive() - #26760
Conversation
67a522f to
41d48d7CompareUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Does timers._unrefActive() really do the same thing as timeout.refresh()? Shouldn't we only be recommending timeout.unref() as a replacement?
There was a problem hiding this comment.
It's an awkward combination of both. It is essentially "refresh this timer as unrefed". Active is the same, but refed.
Perhaps there was an extra meaning back when {un}ref() made separate libuv handles. I'm not sure but that doesn't exist anymore regardless.
41d48d7 to
696a869CompareThere was a problem hiding this comment.
Should this be DEP0XXX till landing (here, below and in the next section)?
There was a problem hiding this comment.
Does it really matter? ¯\_(ツ)_/¯
So long as it's updated if necessary at landing...
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Another nail in the coffin here, farewell ye ol C-style apis. These apis caused numerous other issues that required far too many safeguards. This gets us one step closer to not having to worry about those issues anymore. Refs: nodejs#18066 Refs: nodejs#20298 PR-URL: nodejs#26760
696a869 to
1b80a2bCompareFishrock123
commented
Mar 20, 2019
@nodejs/tsc I would like approval to land this as semver-minor, just like the related former pr: #20298, considering it deprecates undocumented methods. |
BridgeAR
commented
Mar 21, 2019
CI https://ci.nodejs.org/job/node-test-pull-request/21746/ @Fishrock123 just as a note: this was not |
Fishrock123
commented
Mar 23, 2019
@BridgeAR Oh, whoops. Will remember for next time. This LG to you now? CI is happy. |
BridgeAR
commented
Mar 23, 2019
@Fishrock123 yes, this is still LGTM. |
Another nail in the coffin here, farewell ye ol C-style apis. These apis caused numerous other issues that required far too many safeguards. This gets us one step closer to not having to worry about those issues anymore. Refs: nodejs#18066 Refs: nodejs#20298 PR-URL: nodejs#26760 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Fishrock123
commented
Mar 23, 2019
Landed in 7c80f18 |
Another nail in the coffin here, farewell ye ol C-style apis. These apis caused numerous other issues that required far too many safeguards. This gets us one step closer to not having to worry about those issues anymore. Refs: #18066 Refs: #20298 PR-URL: #26760 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Another nail in the coffin here, farewell ye ol C-style apis. These apis caused numerous other issues that required far too many safeguards. This gets us one step closer to not having to worry about those issues anymore. Refs: #18066 Refs: #20298 PR-URL: #26760 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Another nail in the coffin here, farewell ye ol C-style apis.
These apis caused numerous other issues that required far too many safeguards.
This gets us one step closer to not having to worry about those issues anymore.
Refs: #18066
Refs: #20298
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes