You can use setTimeout, but you will continue to incur function execution cost while the timeout runs, and functions have a default max execution time of 60s.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/af311df4-5d3a-4f51-9cf0-cd8b88bceebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use setTimeout, but you will continue to incur function execution cost while the timeout runs, and functions have a default max execution time of 60s.
On Wed, Apr 5, 2017, 7:28 AM Daesung Park <gra...@gmail.com> wrote:
--I am making a game and would like to notify room members of timeout(game end) after a given time elapsed.All logics are controlled inside firebase function; I am wondering setTimeout will work as expected.When I tested with setTimeout, it works. But I am not sure if there is any problems.Can I use setTimeout in firebase function? Or should I use a firebase queue or something else?
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/af311df4-5d3a-4f51-9cf0-cd8b88bceebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANPY8KUhcz3i2SX8B6fzWtrCxpHi588eoj1iaSLpJO9CV4%3Dnpg%40mail.gmail.com.
On Wed, Apr 5, 2017 at 8:07 AM, 'Michael Bleigh' via Firebase Google Group <fireba...@googlegroups.com> wrote:
You can use setTimeout, but you will continue to incur function execution cost while the timeout runs, and functions have a default max execution time of 60s.
On Wed, Apr 5, 2017, 7:28 AM Daesung Park <gra...@gmail.com> wrote:
--I am making a game and would like to notify room members of timeout(game end) after a given time elapsed.All logics are controlled inside firebase function; I am wondering setTimeout will work as expected.When I tested with setTimeout, it works. But I am not sure if there is any problems.Can I use setTimeout in firebase function? Or should I use a firebase queue or something else?
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/af311df4-5d3a-4f51-9cf0-cd8b88bceebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
Minimum granularity is 1 minutes
It can only call a GAE app, not any endpoint in your cloud project