repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v3.1.3
[poolifier.git]
/
docs
/
api.md
diff --git
a/docs/api.md
b/docs/api.md
index 0a13927586a9dd17c97d9925fce2fe77e4d9ef45..29ae73799858356f87d10d197e20c9c67a7fe9b5 100644
(file)
--- a/
docs/api.md
+++ b/
docs/api.md
@@
-61,7
+61,7
@@
This method is available on both pool implementations and returns a boolean.
### `pool.addTaskFunction(name, fn)`
### `pool.addTaskFunction(name, fn)`
-`name` (mandatory) The task function name.
+`name` (mandatory) The task function name.
`fn` (mandatory) The task function.
This method is available on both pool implementations and returns a boolean promise.
`fn` (mandatory) The task function.
This method is available on both pool implementations and returns a boolean promise.