Run starts the plugin then waits for the plugin service to exit, either due to a critical error or by cancelling the context. Calling Run() while the plugin is running, will result in an error. After the plugin service exits, Run() can safely be called again.
(context.Context)
| 54 | // critical error or by cancelling the context. Calling Run() while the plugin is running, |
| 55 | // will result in an error. After the plugin service exits, Run() can safely be called again. |
| 56 | Run(context.Context) error |
| 57 | |
| 58 | // RegistrationTimeout returns the registration timeout for the stub. |
| 59 | // This is the default timeout if the plugin has not been started or |
no outgoing calls