feat(service): immutable snapshots, owning ServiceHandle, DAG lifecycle, and ServicePlugin split
This commit is contained in:
1 parent
6b3dededac
commit
1474a69ab1
12 files changed
+2167
-137
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#include <Void/Service/PluginService.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
Void::Plugin::PluginManager plugins;
|
||||
Void::Service::ServiceRegistry registry;
|
||||
Void::Service::PluginServiceBinding<Void::Service::IService> binding{
|
||||
plugins, registry, "missing"};
|
||||
auto direct = Void::Service::acquire_plugin_service<Void::Service::IService>(
|
||||
plugins, "missing");
|
||||
return !binding.bind() && !direct.has_value() ? 0 : 1;
|
||||
}
|
||||
Reference in new issue
Block a user