Determine whether it's deletion or update or insert action and send changes to Algolia Firebase Database Cloud Functions by default should return Promise object So, for usability, we return Promise too
Algolia client
Algolia index name
Firebase Realtime database change
Determine whether it's deletion or update or insert action and send changes to Algolia Firebase Database Cloud Functions by default should return Promise object So, for usability, we return Promise too