←back to thread

setBigTimeout

(evanhahn.com)
210 points cfj | 1 comments | | HN request time: 0s | source
Show context
n_plus_1_acc ◴[] No.41885880[source]
In response to this, I read the spec of setTimeout, bu I couldn't find the part where implementations may have an upper bound. Can someone more familiär with the specs point me in the right direction?
replies(2): >>41886179 #>>41887986 #
vilius ◴[] No.41887986[source]
Here’s a deep dive in 6 minutes https://youtu.be/boD0ReK62FI?si=jSXuQn0DHn3riJgd

Just JS being JS: setTimeout(()=>{}, Infinity) executes immediately

replies(1): >>41901148 #
1. n_plus_1_acc ◴[] No.41901148[source]
Thanks, but I'm looking for the specification of this behaviour.