summaryrefslogtreecommitdiff
path: root/node_modules/webworker-threads/examples/quickIntro_loop.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webworker-threads/examples/quickIntro_loop.js')
-rw-r--r--node_modules/webworker-threads/examples/quickIntro_loop.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/webworker-threads/examples/quickIntro_loop.js b/node_modules/webworker-threads/examples/quickIntro_loop.js
new file mode 100644
index 0000000..4d4212c
--- /dev/null
+++ b/node_modules/webworker-threads/examples/quickIntro_loop.js
@@ -0,0 +1,4 @@
+(function spinForever () {
+ process.stdout.write(".");
+ process.nextTick(spinForever);
+})();