Attempt count in function input
v2.5 of the TypeScript SDK adds an
attempt number to incoming function data, providing some insight into how many retries the function has had so far.
This is useful to use alongside logging to understand why a function might be failing across multiple invocations.
Check out the
attempt reference for more information.