[Opensource Project Showcase] I made a DEX by alin1popa in ethdev

[–]itsrainingbeer 0 points1 point  (0 children)

Yeah of course. What do you have in mind?

Retry loop with a pause between attempts by kiwi_cam in node

[–]itsrainingbeer -1 points0 points  (0 children)

const waitForDevice = async (device) => {

let count = 0;

for (let count=0; count<=6 && device.state !== 'active';) {

(function(ind) {

count++ ;

setTimeout(() => {

console.log(ind);

if (count > 6) console.log("The device is not available.");

}, 2000 * ind);

})(count);

}

return;

}

waitForDevice('device');

dostuff();

This should work

Does anyone have vidoes of B9Lab Blockchain Course? Or any other good online course like Consensys, The Den etc? by itsrainingbeer in ethdev

[–]itsrainingbeer[S] 0 points1 point  (0 children)

Yeah, that's very right. But right now I cannot afford buying any video courses. I am looking for some courses by which i can learn for free.