Firebase – How to call cloud function nearest to the user
I have a cloud function like this which has been set to run in multiple regions. export const cloudFunction = functions .region(["asia-south1", "us-central1", "europe-west1", "southamerica-east1"]) .https.onCall(async (data, context) => {}); How can I call the cloud function region nearest to…