Function that is called when progress updates are given.
a #PkProgress
the type of progress update this is
Function that is called when progress updates are given.