I can know that a particular event is part of a compound operation, even a particular operation...
tags.addEventListener(gapi.drive.realtime.EventType.VALUES_SET,handleEvent);
function handleEvent(serialized) {
if (serialized.compoundOperationNames.indexOf("LOTS OF TAGS CHANGING") > -1) {
};
...but how can I know that the compound operation is complete, and it's now a good time to do something about it?
I'd like to be able to do something like this:
if (serialized.lastCompoundOpEvent) {
// Read all the tags and do an expensive bulk operation here
}