restart b
This commit is contained in:
+2
-2
@@ -124,8 +124,8 @@ async function startBook(contactPojo, device, selectedStore, audioAnalyse, alert
|
||||
}
|
||||
|
||||
async function startWithList(contacts, device, selectedStore, audioAnalyse, alertBeep) {
|
||||
// let duplicatedList = [].concat(contacts).concat(contacts).concat(contacts)
|
||||
let duplicatedList = [].concat(contacts)
|
||||
let duplicatedList = [].concat(contacts).concat(contacts).concat(contacts)
|
||||
// let duplicatedList = [].concat(contacts)
|
||||
await duplicatedList.reduce(async (promise, contactPojo) => {
|
||||
// This line will wait for the last async function to finish.
|
||||
// The first iteration uses an already resolved Promise
|
||||
|
||||
Reference in New Issue
Block a user