Перейти к содержимому

Learn JavaScript Promises (Pt. 2) with a Firestore Trigger in Cloud Functions - Firecasts

Firebase

0:00 / 0:00

Learn JavaScript Promises (Pt. 2) with a Firestore Trigger in Cloud Functions - Firecasts

98 402 просмотра · 8 лет назад
Firebase
418 тыс. подписчиков
98 402 просмотра · 8 лет назад
How do you correctly terminate a background function? You must return a promise that becomes fulfilled or rejected when all the pending work in that function is complete. Let's see what that looks like with a Firestore trigger. Cloud Functions for Firebase → https://goo.gl/uEp8F3 Write Firestore Triggers → https://goo.gl/tmz3fq Functions SDK API documentation → https://goo.gl/nzq5QM Firestore API documentation → https://goo.gl/1gKP5b Admin SDK documentation → https://goo.gl/ANGVKj Firebase Cloud Messaging → https://goo.gl/tSHqeb Cloud Functions for Firebase - Tutorials → http://bit.ly/2M2ZBcE Subscribe to the Firebase channel → http://bit.ly/firebase2