Does AWS Lambda Function Handlers in C# provide a cancellation token?
I've read the documentation on AWS site (https://docs.aws.amazon.com/lambda/latest/dg/dotnet-programming-model-handler-types.html) but I can't see anywhere that mentions cancellation tokens. I've also inspected the ILambdaContext
that gets passed into the method of execution but there is nothing on there.
I've worked before with Azure Functions and they just pass it in as another argument to the functions as described in this article: https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library#cancellation-tokens