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:
void main(){
auto p = new NvimPlugin!(PluginStruct)();
scope(exit) p.keepRunning();
}
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:
void main(){ auto p = new NvimPlugin!(PluginStruct)(); scope(exit) p.keepRunning(); }