Progress bar indication while executing a task

Hi,

Is there any way to indicate the progress while executing a task ??

For eg:

I’ve written a task to copy the build on to the remote server,
This copy would take more time due to the build size, having a progress bar will help us to know the progress state of the task.

If there is any way please help me out.

Regards,
Mona G

not in general, async tasks can be polled but it doesn't really show
progress. Such a thing can be very different by module.