Use this to gather some additional information for the real onProcess function. This calculation should be lightweight as this method is called from the main thread.