filter

Restricts the given factory to protocols that satisfy predicate.