The execution of the cloud code events is time-limited
thus maintaining a time-dependent code is not applicable in the Cloud Code. This would be the main reason that setTimeout
, etc., are not supported.
We have on our roadmap
a functionality for scheduling cloud functions which will cover apps that require time-dependent scenarios.
The Cloud Code has its own API that you can explore here
. Since this is a server logic layer, the API does not cover a lot of common JS functions like these mentioned above. Also, the context of the this
keyword is limited.
You are welcome to share your suggestions or feedback.