MCPcopy
hub / github.com/sunnylqm/react-native-storage / getBatchData

Method getBatchData

storage.js:151–157  ·  view source on GitHub ↗
(querys)

Source from the content-addressed store, hash-verified

149 }
150 }
151 getBatchData(querys) {
152 let tasks = [];
153 for(let i = 0, query; query = querys[i]; i++) {
154 tasks[i] = this.load(query);
155 }
156 return Promise.all(tasks);
157 }
158 getBatchDataWithIds(params) {
159 let { key, ids, syncInBackground, syncParams } = params;
160

Callers 2

getAllDataForKeyMethod · 0.95

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected