Tag Info

New answers tagged


You need some logic to be recursive if there are more than one sub term and call your original function again if so. Not sure why you would need to use promises on the get sub terms function. You could add an if statement like so within GetSubTerms(); if childTerm.get_termsCount() > 0 do more recursion here else break

Top 50 recent answers are included