MCPcopy Create free account
hub / github.com/Comcast/Speed-testJS / callback

Function callback

database.js:164–180  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

162};
163
164var callback = function (data) {
165 console.log(data);
166 for (var i = 0; i < serverInfo.length; i++) {
167 var updateParams = {
168 //change the table name to match the above
169 TableName: 'TableName',
170 Item: {
171 Hostname: {'S': serverInfo[i].Hostname},
172 Sitename: {'S': serverInfo[i].Sitename},
173 Location: {'S': serverInfo[i].Location},
174 IPv4Address: {'S': serverInfo[i].IPv4Address},
175 IPv6Address: {'S': serverInfo[i].IPv6Address}
176 }
177 };
178 putItem(updateParams, putItemCallback);
179 }
180};
181
182var putItemCallback = function (data) {
183 console.log(data)

Callers 8

createTableFunction · 0.85
putItemFunction · 0.85
getItemFunction · 0.85
putItemFunction · 0.85
deleteItemFunction · 0.85
queryFunction · 0.85
updateItemFunction · 0.85
scanTableFunction · 0.85

Calls 1

putItemFunction · 0.70

Tested by

no test coverage detected