lookup(_:deadline:callback:)

ServiceDiscovery+TypeErased.swift:142

This declaration is deprecated: Use the lookup variant with an (any Hashable & Sendable) service instead

@preconcurrency func lookup(_ service: AnyHashable, deadline: DispatchTime? = nil, callback: @escaping (Result<[AnyHashable], Error>) -> Void)