Delay Google Cloud Function

后端 未结 4 928
不思量自难忘°
不思量自难忘° 2021-01-23 07:34

I have a swift iPhone application paired with Google Firebase. Within the application the user will complete an action (press a button). At this point, I would like to schedule

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-23 07:47

    Would a delayed Cloud Task work for you?

    You can create a Cloud Task that is delayed and calls your function through an HTTP trigger. The task can be then cancelled if your user performs the second action you desribe. There is a number of dedicated client libraries for Cloud Tasks, as well as a REST API.

提交回复
热议问题