7Subscription ServiceExchange::PublishNamed(std::string_view iface,
void* impl)
9 _services.Publish(iface, impl);
10 return Subscription([&services = _services, name = std::string(iface)] { services.Unpublish(name); });
13void* ServiceExchange::Find(std::string_view iface)
const
15 return _services.Find(iface);
Owns one registration and releases it on destruction.