Stash application progress notification function. Return 0 to continue processing, or a negative value to abort the stash application.
the progress information
the user-specified payload to the apply function
0 on success, -1 on error