Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
const taskFunction = data => {
data = data || {}
- data.function = data.function || TaskFunctions.jsonIntegerSerialization
+ data.function = data.function || TaskFunctions.factorial
data.debug = data.debug || false
const res = executeTaskFunction(data)
data.debug === true && console.debug(`This is the main thread ${isPrimary}`)
const taskFunction = data => {
data = data || {}
- data.function = data.function || TaskFunctions.jsonIntegerSerialization
+ data.function = data.function || TaskFunctions.factorial
data.debug = data.debug || false
const res = executeTaskFunction(data)
data.debug === true &&