Callback-oriented way to report the progress of a task.