Callback used to inform of upcoming updates.
an array containing the updates which will be sent as commands to the destination.
number of elements in updates
updates
Payload provided by the caller
0 or an error code to stop the push