async restart
2) I got the impression that when submitting changes through the plugin config that the plugin can restart while it has not jet finished stopping. Can this be true? Can I prevent this?
1 Reply
there's now better (but yet unpublished) support for async plugin stop operations, see https://github.com/SignalK/signalk-server/pull/1804
GitHub
feature: support async plugin.stop implementation by tkurki · Pull ...
Fixes #1802
Add support for plugins returning a Promise from their stop implementation to allow async stop operations. In plugin restarts, mainly when changing configuration, we wait for the option...