Skip to content

Commit

Permalink
doc: add after hook hint
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlewind committed Jan 20, 2019
1 parent 171a467 commit 36dd5e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Given original function, runs a new high-order function that:
1. Calls original function and get its output.
2. Calls `outputGetter` with output, returning what it returns.

> Both `hookOutput` and `withHookAfter` runs after original function. `hookOutput` replaces the output, but `withHookAfter` won't.
## License
MIT

0 comments on commit 36dd5e1

Please sign in to comment.