complete

Fired at the end of the data retrieval and processing pipeline, regardless of whether data retrieval was successful. Provides the ability to get notified whenever a data retrieval operation is completed:

var dataSource = new shield.DataSource({
    events: {
        complete: function (e) {
            console.log("done reading data.");
        }
    }
});