Sollicitatievraag bij Omio

Q. Live coding task, Create a function that should be called within another function. If this function fails, it should be retried 10 times, and then delayed for 10 seconds if unsuccessful before repeating the same patter.