Skip to content

Instantly share code, notes, and snippets.

View scottnonnenberg's full-sized avatar
🤔

Scott Nonnenberg scottnonnenberg

🤔
View GitHub Profile
@scottnonnenberg
scottnonnenberg / output.txt
Last active September 7, 2018 22:42
What happens in node.js when you start a setInterval(), but do some synchronous work? setInterval() calls get dropped.
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