javascript - After user defined event, wait for other outside event -


i have query running in background retrieve user emails large database collection.

the user can enter email address field , click submit, query getting email accounts might not complete yet, , want make sure user defined email address has not been taken.

after user clicks submit, how can wait query return?


Comments

Popular posts from this blog

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -