dc.redrawAllAsync() Return Value & Polling


#1

Hi all,

I was wondering what the exact return values are for the functions dc.redrawAllAsync() and dc_object.on(‘postRedraw’,…)?
I see they return all of the dc objects that are redrawn and the specific object following a redraw call, respectively.
Are they returning a piece of the object with just the new information that has been added, or the whole object?

Follow-up: Is there a way to just grab the newest changes? I’m trying to set up some sort of polling functionality where either 1) every time I redraw I grab the new information and do something with it or 2) every time new information is added to the database I would like to retrieve that new information and re-draw the charts

Thank you,