So effectively the pseudo code would look something like:
The intention here, is that there is a very long process taking place, and that I want to callback into the NSIS install script to have it send the progress reports to our install manager.
Function ProgressCallback
Pop $0
${Log} "$0"
FunctionEnd
AddressOf $1 ProgressCallback
Plugin:😁oLongTask $1
Obviously the DoLongTask of the plugin would then use address $1 to make the callback somehow. The "AddressOf" command above is just my own pseudo code, and obviously not real as well.