NeoSOFT interview question

Why promises and how it will use?