Skip to content

Commit 1fb66fc

Browse files
authored
Merge pull request #129 from daweilv/patch-1
Update README.md
2 parents d65ccb1 + 8e0bd99 commit 1fb66fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Each hook can be tapped with one or several functions. How they are executed dep
139139

140140
* __Bail__. A bail hook allows exiting early. When any of the tapped function returns anything, the bail hook will stop executing the remaining ones.
141141

142-
* __Loop__. TODO
142+
* __Loop__. When a plugin in a loop hook returns a non-undefined value the hook will restart from the first plugin. It will loop until all plugins return undefined.
143143

144144
Additionally, hooks can be synchronous or asynchronous. To reflect this, there’re “Sync”, “AsyncSeries”, and “AsyncParallel” hook classes:
145145

0 commit comments

Comments
 (0)