Azure / Azure/azure-functions-host

Make FunctionTimeout cancellation token available to OOP

Open
#5,828 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

As part of working on #5391 , one of the approaches we found was to have the cancellationToken made available to out-of-proc languages as well. WorkerFunctionDescriptionProvider and other necessary components need to be updated so that webjobs-sdk can pass in the functionTimeoutCancellation token as part of it's parameters list. Right now, the following are the parameters being passed down to WorkerFunctionInvoker
![image](https://user-images.githubusercontent.com/26885664/77494233-7a5b1180-6e02-11ea-8305-dd7ea3b1e942.png)

cc: @fabiocav @pragnagopa @mhoeger

Contributor guide

Open the contributing guide

Research direction

Start with the approach described in #5391 and inspect WorkerFunctionDescriptionProvider and the other components involved in building parameters for WorkerFunctionInvoker. Trace how the functionTimeoutCancellation token is passed to out-of-process functions; done means the cancellation token is available in that parameter list.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.