I see on Bubble is almost impossible making a loop: I tried to do it with custom events repeating each other, but in the debug mode I see it declear it as error, and it get stuck.
There are no other way to do what I am trying to do, I need a loop to make Bubble check some “things” using an API, and it won’t stop until it find the right response from the API.
I have taken the time to learn plugins. In Javascript you can loop to your heart’s content and get the answer in a jiffy. (sorry for the English colloquialisms). Doesn’t work for everything, but can be handy for lots of situations.
I’ve written some beginners guides to plugins to get you going!
You can use the repeated every x seconds to implement loops here.
for example, you could press a button to trigger the “do something every x seconds”.
Set the X to .01 seconds. (Of course Bubble ain’t gonna serve you up 100 operations a second, but it doesn’t hurt to ask. I haven’t clocked the speed of iteration but it’s pretty quick. If you need something speedier than the templated universe that is bubble, dig into a plugin or run something in an HTML window.
Anywho, Drop me a line if you have more trouble with while loops, for loops, or iteration in general.
It’s quite simple here with the tools that Bubble hath bestowed upon the net.