What happens when the WiFi connection is bad?

What happens to the cloud functions if there’s no internet at the time?

Will particle.publish() will be fetched later?
If someone calls a function but the photon has no internet - will the function be called as soon as theres internet?

I couldn’t find information on that - so thanks in advance!

If the photon is not connected to the particle cloud, a function call will timeout and return nothing.
(The function won’t be executed on the photon)