Run the main loop also if no wifi is availibe

it does not reach the cloud.update function if the network does not get connected it never goes into main loop.

and would probably be a good place to set global variables which you can test in the loop() to see if it is safe to start attempting to make a connection to the "cloud".

yes exactly i dont need network but i need the code to run always
but i can not use Iot connection handler and stuff, if i dont set them up in void Setup()
with ArduinoCloud.begin();
Or so i think, does someone know a good source for dokumentation? the arduinoIOT stuff seem to be not that much documented (not that good as i am used to for Arduino)