I have a function making http request, like this
function waitforme(para){
fetch(para).then( return false/true; )
}
if(waitforme == false){
} else {}
now it is not waiting for waitforme function response and execute the rest. How can i make it wait for the response and then excute the rest ?