Skip to content

Instantly share code, notes, and snippets.

Scott Nonnenberg scottnonnenberg

View GitHub Profile
@scottnonnenberg
scottnonnenberg / output.txt
Last active Sep 7, 2018
What happens in node.js when you start a setInterval(), but do some synchronous work? setInterval() calls get dropped.
View output.txt
2015-03-23T19:41:49.232Z
2015-03-23T19:41:49.367Z
2015-03-23T19:41:49.470Z
2015-03-23T19:41:49.571Z
sync task start
sync task done
2015-03-23T19:41:50.632Z
2015-03-23T19:41:50.733Z
2015-03-23T19:41:50.834Z
^C
You can’t perform that action at this time.