I\'ve been thinking about how to make this function work and make it stop completely, but it keeps running.
async function decreaseStock(idarticle,quantity){