set Message Flow
Injecting the message flow, called once when the extension is initialized.
use the following to use the message flow:
messageFlow.emit(Message("Hello World!"))
// or
val action = Action("Click me!") { /* do something */ }
messageFlow.emit(Message("Hello World!", action))Content copied to clipboard
Parameters
message Flow
The shared flow to send messages to the app.