Azure / azure-functions-nodejs-library

The Node.js framework for Azure Functions
https://www.npmjs.com/package/@azure/functions
MIT License
58 stars 14 forks source link

Aborting an Azure Function #273

Open jmfirth-arkane opened 4 months ago

jmfirth-arkane commented 4 months ago

I see no documentation for passing an AbortSignal through to a Node.js Azure Function for aborting a request. How is this achieved?

ejizba commented 4 months ago

Hi @jmfirth-arkane, this isn't supported for Node.js right now, but we're happy to add it to the backlog.

I assume you're looking for something similar to cancellation token support in .NET? Docs on .NET support here with additional details here

A few related issues:

jmfirth-arkane commented 4 months ago

Ejizba, thanks for your response! This feels like a great feature to have, thank you for adding it to the backlog.

serefacet commented 1 month ago

It would be a great addition in terms of supporting graceful shutdown in functions with NodeJs on the top of app service plans