Closed xnetcat closed 5 years ago
Hi, I AM nre to promise. How I can write thie on python.
return new Promise((resolve, reject) => { drivelist.list((error, drives) => { if (error) return reject(err); resolve(drives); }); });
Hi dii you find the method to do it? Thank you!
Hi, I AM nre to promise. How I can write thie on python.
return new Promise((resolve, reject) => { drivelist.list((error, drives) => { if (error) return reject(err); resolve(drives); }); });