Showing progress on server task from custom section

Hello everyone,

I’m developing my first custom section for a client.
On one of the pages there’s a button to execute a task on the server and I would like to show the progress of the task, not with a fancy progress bar, but simply the current percentage.

Is there a way to implement this?
Any help is appreciated.

Thanks

– EDIT:
Forgot to mention, my task is already running asynchronously and I have a handler receiving updates from the progress. I just need the Umbraco specific portion of how to notify that progress.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/70432-showing-progress-on-server-task-from-custom-section