Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then( ([{entity:task,fsm:taskFSM}, {entity:condition,fsm:conditionFSM}]) => {
// make the FSM
const fsm = composer.while(conditionFSM, taskFSM)
// we were asked to create a new action for this FSM
return create({ name, fsm, wsk, commandTree, execOptions, type })
})
}