I have a JS promise:
function ll_matching_process() { return new Promise(async (resolve, reject) => { cancel_button.onclick = function() {