Skip to content

Commit

Permalink
Typo fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianloveswords committed Feb 1, 2012
1 parent 4e7c809 commit ec36c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2012-02-01-thinking-async-errors.md
Expand Up @@ -99,7 +99,7 @@ These were my results when running it:

`thrower` and `process.nextTick` both take one parameter, a callback. To
understand why an error thrown in the callback will bubble in the latter, it's
important to undestand how `process.nextTick` interacts with the event
important to understand how `process.nextTick` interacts with the event
loop. From the docs,

> On the next loop around the event loop call this callback. This is *not* a simple alias to `setTimeout(fn, 0)`, it's much more efficient.
Expand Down Expand Up @@ -149,7 +149,7 @@ context of a `try` block and the error will bubble through.
* When `catch`ing errors from asynchronous functions you have to wrap the body
of the callback, not the calling function.

* This is something you have to worry about if you are using syncronous
* This is something you have to worry about if you are using synchronous
functions in your callbacks. All of the synchronous methods in the standard
library throw errors.

Expand Down

0 comments on commit ec36c5b

Please sign in to comment.