summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormegawac <megawac@gmail.com>2015-07-19 21:16:17 -0400
committermegawac <megawac@gmail.com>2015-07-19 21:17:45 -0400
commitb0fe15781893bb605b90ced4204175026640b033 (patch)
tree9af236e86170da44a0393d2383fabbd43b2ba4e8 /README.md
parent96a72957fdb49b48ffc476c0ef33853cdbf2f20f (diff)
downloadasync-b0fe15781893bb605b90ced4204175026640b033.tar.gz
Fix StackOverflow anchor
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3ba5235..c0a93c1 100644
--- a/README.md
+++ b/README.md
@@ -52,9 +52,7 @@ There are many more functions available so take a look at the docs below for a
full list. This module aims to be comprehensive, so if you feel anything is
missing please create a GitHub issue for it.
-## Common Pitfalls
-
-<a name="stack-overflow">
+## Common Pitfalls <sub>[(StackOverflow)](http://stackoverflow.com/questions/tagged/async.js)</sub>
### Synchronous iteration functions
If you get an error like `RangeError: Maximum call stack size exceeded.` or other stack overflow issues when using async, you are likely using a synchronous iterator. By *synchronous* we mean a function that calls its callback on the same tick in the javascript event loop, without doing any I/O or using any timers. Calling many callbacks iteratively will quickly overflow the stack. If you run into this issue, just defer your callback with `async.nextTick` to start a new call stack on the next tick of the event loop.