Loop until condition is met

Not the most efficient, but given that there seems to be no websocket support in WeWeb, you could probably do a for loop and add a time delay in the loop.

Your timeout would be (time delay) * (length of the array). The array could be anything (like [0, 1… 100]).