filterInstance(_:)

Creates a new ServiceDiscovery implementation based on this one, filtering instances with the given predicate.

ServiceDiscovery+Combinators.swift:42
@preconcurrency func filterInstance(_ predicate: @escaping (Instance) throws -> Bool) -> FilterInstanceServiceDiscovery<Self>

It is not necessarily safe to block in this closure. This closure should not block for safety.