Skip to content

Commit 5c96ac2

Browse files
authored
docs: fix HookMap description (#178)
1 parent a0a7b26 commit 5c96ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ myCar.hooks.accelerate.tap({
214214
A HookMap is a helper class for a Map with Hooks
215215

216216
``` js
217-
const keyedHook = new HookMap(key => new SyncHook(["arg"]))
217+
const keyedHook = new HookMap(key => new AsyncSeriesHook(["arg"]))
218218
```
219219

220220
``` js

0 commit comments

Comments
 (0)