UNPKG

tinkerhub-discovery

Version:

Standardized API for service discovery and publishing

6 lines (5 loc) 168 B
/** * Predicate used to filter a service. Return `true` to match a service and * `false` to not match. */ export type ServicePredicate<S> = (service: S) => boolean;