PhonePe interview question

different between escaping an non-escaping closure