Skip to content

Commit

Permalink
Fix function signature in README
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Apr 25, 2014
1 parent c47c0e9 commit 414df47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ emitter.off('foo', listener);
hasListeners(emitter, 'foo'); // false
```

#### pipe(source, target/*, emitMethodName*/) _(event-emitter/pipe)_
#### pipe(source, target[, emitMethodName]) _(event-emitter/pipe)_

Pipes all events from _source_ emitter onto _target_ emitter (all events from _source_ emitter will be emitted also on _target_ emitter, but not other way).
Returns _pipe_ object which exposes `pipe.close` function. Invoke it to close configured _pipe_.
Expand Down

0 comments on commit 414df47

Please sign in to comment.