there is no default mechanism
you can add a variable and count the number of iterations
and you can either add a if condition that if that number reaches 100 you can raise an alert
but there is no default mechanism
you can follow the following links
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-loops