MCPcopy
hub / github.com/nervgh/angular-file-upload / getReadyItems

Method getReadyItems

src/services/FileUploader.js:229–233  ·  view source on GitHub ↗

* Returns items ready for upload * @returns {Array}

()

Source from the content-addressed store, hash-verified

227 * @returns {Array}
228 */
229 getReadyItems() {
230 return this.queue
231 .filter(item => (item.isReady && !item.isUploading))
232 .sort((item1, item2) => item1.index - item2.index);
233 }
234 /**
235 * Destroys instance of FileUploader
236 */

Callers 1

_onCompleteItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected