Release resources.
Generate plugin manifest, the plugin hosted name is the class name lowered case. The binary path of the plugin application should be in your path. autoCmdPattern is used for registring an auto command for this plugin, by default, it doesn't restrict any pattern at all. As soon as the plugin is registered, all the functions and commands will be lazy loaded, and the binary will be executed as soon as your make a first call from Nvim.
Used for keeping the main and callback daemonized thread open. You should only call keepRunning if you don't have an inifinite loop in your void main(), for example:
Host a D plugin, by template instanciating a Struct on Nvim. The main thread (NvimClient) provides a socket to call Nvim API functions, and there's a second thread, which is exclusively used for exchanging call messages between the Plugin functions, commands, and Nvim.