Skip to content

Commit

Permalink
adding warning about callbacks being sync
Browse files Browse the repository at this point in the history
  • Loading branch information
aconbere committed Apr 25, 2010
1 parent f9e205a commit e02f629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readme.mkd
@@ -1,6 +1,6 @@
# Syn #

Syn is a simple wrapper function, that returns an EventEmitter providing simple access to two events "started" and "finished". It's primary aid is in helping track when asynchronus functions have completed.
Syn is a simple wrapper function, that returns an EventEmitter providing simple access to two events "started" and "finished". It's primary aid is in helping track when asynchronus functions have completed. It assumes that the callbacks you pass into the async functions are synchronus.

## Examples ##

Expand All @@ -19,4 +19,3 @@ In this example, path will only be removed after stat is called.
s.addListener("finished", function () {
fs.remove(path);
});

0 comments on commit e02f629

Please sign in to comment.