Feature : sending messages from plugin to view

Hello, first thanks for this great tool!

Feature : Allowing a plugin to send messages to its view

Why: Plugins that have a Webview (for example link.graph.ui) may want to update their UI when some events happen (such as a note selection). There exists a postMessage() method that already allows us to send messages from the UI script to the plugin and wait for a response, and we can reuse this mechanism to poll the plugin data.
However implementing a push mechanism to update the UI whenever the plugin received notification of changes would be more straightforward.

I have a pullRequest ready that I can submit with the necessary changes.


Strongly agree