update data for the responder stream
Source
void updateStream(List updates,
{List columns, String streamStatus: StreamStatus.open,
Map meta, bool autoSendColumns: true}) {
if (meta != null && meta['mode'] == 'refresh') {
pendingData.length = 0;
}
if (!_hasSentColumns) {
if (columns == null &&
autoSendColumns &&
node != null &&
node.configs[r"$columns"] is List) {
columns = node.configs[r"$columns"];
}
}
if (columns != null) {
_hasSentColumns = true;
}
pendingData.add(
new _InvokeResponseUpdate(streamStatus, updates, columns, meta)
);
prepareSending();
}