Start the plugin (matching Go's StartPlugin). Creates and starts a plugin that connects to the FSM socket.
(config: Config)
| 375 | |
| 376 | |
| 377 | async def start_plugin(config: Config) -> Plugin: |
| 378 | """ |
| 379 | Start the plugin (matching Go's StartPlugin). |
| 380 | |
| 381 | Creates and starts a plugin that connects to the FSM socket. |
| 382 | """ |
| 383 | plugin = Plugin(config) |
| 384 | await plugin.start() |
| 385 | return plugin |