Background operation - exit functionality

Former Member
Former Member
As I don't get reliable results from tests - maybe somebody could clarify that? …

I have an operation called in the background - let say - every hour.
Sometimes this operation return NULL and sometimes it returns real data.

Imagine following scenario -

time: 1:00
background -> return NULL
time 2:00
background -> returns DATA
time 3:00
background -> returns NULL

time 3:30
User starts the widget - it automatically retrieve received data through onBackgroundData function
WHAT will receive this function - NULL (as last received) from 3:00 OR DATA from 2:00 ?

That's not really clarified in documentation...

Thanks!