How can I override the behavior of await to something like
loadingDivOn()
await(some operation)
loadingDivOff()
Note this has to handle any type of operation after await, not just fetch.
i dont want await statement to be there in my code, i just want my method ‘await’ to be called in for it
New contributor
eniya muthusamy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.