简体   繁体   中英

Can I use the azure webjobs sdk from a nodejs webapp?

I have a Azure web-app built using NodeJS and wanted to create a webjob triggered by a queue. Looks like this can be achieved using a QueueTrigger from azure-webjobs-sdk.

I have found examples for

  • Defining the webjob in C#
  • Using a NodeJS based webjob defined in C#(I think)

Is it possible to define a Webjob using the SDK from NodeJS code?

PS I don't want to run a continous webjob.

The WebJobs SDK is only usable from C# code when writing Azure WebJobs. However, if you use Azure Functions, you get the same functionality as WebJobs for functions written in JavaScript and other languages. You can check out quickstarts and tutorials in the docs here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM