I've got some function that takes very long time to execute (downloading some external images in my case) and I want to avoid execution time exceeded
error.
Is there any way to avoid this (for example by dividing downloading of single images into single php 'threads' or something like that) ?
I cannot change execution time limit
or any of ini settings
.
I'm not able to use cron works as it'd be used in WordPress theme and I can't control platform of end user.