docs: add missing api worker section ToC
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 20:25:03 +0000 (22:25 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 20:25:03 +0000 (22:25 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
docs/api.md

index aad6e72280429a0bb0bd449961845a50da185671..a7ec3d388fe08cb0d894404370734ae420151895 100644 (file)
     - [`ClusterPoolOptions extends PoolOptions`](#clusterpooloptions-extends-pooloptions)
 - [Worker](#worker)
   - [`class YourWorker extends ThreadWorker/ClusterWorker`](#class-yourworker-extends-threadworkerclusterworker)
+    - [`YourWorker.hasTaskFunction(name)`](#yourworkerhastaskfunctionname)
+    - [`YourWorker.addTaskFunction(name, fn)`](#yourworkeraddtaskfunctionname-fn)
+    - [`YourWorker.removeTaskFunction(name)`](#yourworkerremovetaskfunctionname)
+    - [`YourWorker.listTaskFunctions()`](#yourworkerlisttaskfunctions)
+    - [`YourWorker.setDefaultTaskFunction(name)`](#yourworkersetdefaulttaskfunctionname)
 
 ## Pool