blob: d75109042160108cccdcf77c0702e0c082e7b4ef [file] [log] [blame]
>>>
test() {
var fooService,
ids,
objectName,
results;
var futures = ids
.map((id) => fooService
.getItem(objectName, id)
.then((item) => results.add(item.name.value)))
.toList();
}
<<<
test() {
var fooService, ids, objectName, results;
var futures = ids
.map((id) => fooService
.getItem(objectName, id)
.then((item) => results.add(item.name.value)))
.toList();
}