Skip to content

Commit 36dd5e1

Browse files
author
Yifeng Wang
committed
doc: add after hook hint
1 parent 171a467 commit 36dd5e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Given original function, runs a new high-order function that:
8383
1. Calls original function and get its output.
8484
2. Calls `outputGetter` with output, returning what it returns.
8585

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

0 commit comments

Comments
 (0)