+ public hasTaskFunction (name: string): boolean {
+ this.sendToWorkers({
+ taskFunctionOperation: 'has',
+ taskFunctionName: name
+ })
+ return true
+ }
+
+ /** @inheritDoc */
+ public addTaskFunction (name: string, taskFunction: TaskFunction): boolean {
+ this.sendToWorkers({
+ taskFunctionOperation: 'add',
+ taskFunctionName: name,
+ taskFunction: taskFunction.toString()
+ })
+ return true
+ }
+
+ /** @inheritDoc */
+ public removeTaskFunction (name: string): boolean {
+ this.sendToWorkers({
+ taskFunctionOperation: 'remove',
+ taskFunctionName: name
+ })
+ return true
+ }
+
+ /** @inheritDoc */
+ public listTaskFunctionNames (): string[] {