Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.39 KB

functions-nodejs-model-considerations.md

File metadata and controls

23 lines (19 loc) · 1.39 KB
title description author ms.service ms.topic ms.date ms.author ms.custom
include file
include file
ejizba
azure-functions
include
03/21/2023
erijiz
include file

Considerations

Note

Version 4 of the Node.js programming model is currently in public preview.

  • During preview, the v4 model requires you to set the app setting AzureWebJobsFeatureFlags to EnableWorkerIndexing. For more information, see Enable the v4 programming model.

  • The Node.js programming model shouldn't be confused with the Azure Functions runtime:

    • Programming model: Defines how you author your code and is specific to JavaScript and TypeScript.
    • Runtime: Defines underlying behavior of Azure Functions and is shared across all languages.
  • The version of the programming model is strictly tied to the version of the @azure/functions npm package. It's versioned independently of the runtime. Both the runtime and the programming model use the number 4 as their latest major version, but that's a coincidence.

  • You can't mix the v3 and v4 programming models in the same function app. As soon as you register one v4 function in your app, any v3 functions registered in function.json files are ignored.