app.subscriptionmanager ?

Where is the doc for Subj placed?
8 Replies
Teppo Kurki
Teppo Kurki2mo ago
Undocumented server internals, not supposed to be used directly. What are you trying to achieve?
Владимир Калачихин
What is the documented way to subscribe to delta messages from server plugin?
Teppo Kurki
Teppo Kurki2mo ago
All or for some paths?
Teppo Kurki
Teppo Kurki2mo ago
Lol. I misspoke. I use subscriptions in plugins so rarely that i forgot that subscriptionmanage IS documented https://demo.signalk.io/documentation/develop/plugins/deltas.html?highlight=Getpath#reading-the-current-path-value
Processing Data - Signal K Server Documentation
A Guide for users and developers.
Teppo Kurki
Teppo Kurki2mo ago
And the getSelf methods there For wildcard subscriptions subsmanager, for a number of specific paths i would pick streams/buses
Владимир Калачихин
Promises are the stupidest idea in the JavaScript... My question is about unsubscribes array. How should it be filled?