The difference between unref and clear* in Node

clear * including clearImmediate clearInterval clearTimeout
as described in the title, both of them have the function of canceling the timer. What"s the difference? After reading the official documents, I don"t understand

Feb.23,2022

is used to cancel their respective timers. Although I have tested them on node, I can also cancel other timers, but there is no guarantee that the underlying layers of other platforms are implemented in this way. Just to be on the safe side, they use corresponding cancellation functions.
if curiosity is too important to investigate the source, it is to look at the source code of the implementation.

Menu