uNetworking / uWebSockets.js

μWebSockets for Node.js back-ends :metal:
Apache License 2.0
8.08k stars 574 forks source link

app.numSubscribers is not a function #745

Closed vedantroy closed 2 years ago

vedantroy commented 2 years ago

I have an variable app of type uws.TemplatedApp. However, calling app.numSubscribers(channelName) fails with an error saying it is not a function.

console.log(app.numSubscribers), shows that the method is undefined.