{{
( async function( )
{
const response = await Loan_Disbursal_Bulk.run()
await closeModal('bulk_loan_confirm')
await showModal('waitscreen')
setTimeout(() => { closeModal('waitscreen') }, 2000)
await storeValue("status_2",response.status)
await storeValue("message_2",response.message)
}
)
( )
}}
In this code i want to close the modal named "waitscreen" after 2 sec, but its not closing..Is there any other solution for this.