PHP is a single-threaded language, so we cannot start the build process immediately after an action in the user account.
So that the client does not have to wait too long for a response from the server, we use the CRON scheduler.
Once every 3 minutes, Flangapp script should check for requests for assemblies and transfer application objects to the repository.
Create a new CRON task in your hosting control panel:
*/3 * * * * wget -qO- https://demoapi.flangapp.com/public/bundle/create
Where is demoapi.flangapp.com the address of your domain with the backend.
If your hosting provider does not have a CRON scheduler, you can use cloud alternatives such as https://cron-job.org/en/ and others.