Rewritten Issue
QUESTION
Do I need to explicitly end Firestore triggered functions by returning something (even if it’s null) or some other command, similar to HTTP functions which must always end with send()
, redirect()
, or end()
?
QUESTION
Do I need to explicitly end Firestore triggered functions by returning something (even if it’s null) or some other command, similar to HTTP functions which must always end with send()
, redirect()
, or end()
?
ANSWER
No, you do not need to explicitly end Firestore triggered functions by returning something or using another command. Unlike HTTP functions, Firestore triggered functions will automatically end when all asynchronous operations are complete.