Handle Vercel Function Termination by Execution time limit #129
-
Is there a solution for handling a function interrupt signal like Or does execution stop immediately, freezing the application state ? Using Node 14.x 🙂 |
Beta Was this translation helpful? Give feedback.
Answered by
Pieparker
Jan 14, 2022
Replies: 0 comments 1 reply
-
Hey there! Serverless functions are independent and not stateful. From a best solution point-of-view, you should be considering whether serverless functions are the correct tool, if you're looking to make the most of the execution time limit and perform long-running tasks. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Pieparker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there! Serverless functions are independent and not stateful. From a best solution point-of-view, you should be considering whether serverless functions are the correct tool, if you're looking to make the most of the execution time limit and perform long-running tasks.