Azure / azure-functions-nodejs-library

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

Add WebPubSub bindings/trigger type support to v4 model #95

Open zurex opened 1 year ago

zurex commented 1 year ago

I noticed that we have a webPubSubTrigger which could work in v3 model (by function.json). However, v4 model doesn't support such feature right now.

Would you mind add this as new feature into roadmap?

ejizba commented 1 year ago

You can still use WebPubSub in the v4 model with generics. We will add support for other bindings based on feedback like yours, although I use docs like these to add support and I'm not seeing one for WebPubSub. Do you by chance work on the WebPubSub extension or do you know who does? It'd be great to get those docs added first

zurex commented 1 year ago

Thanks for follow up.

For the document, I just follow the guide in Tutorial: Create a serverless real-time chat app with Azure Functions and Azure Web PubSub service. In the tutorial they create web pubsub binding in v3 model way.

I will take a look for the generics part.