and method
Convenience method to require other policy
Implementation
CachePolicy<T> and(CachePolicy<T> other) => CachePolicy((entity) => canCache(entity) && other.canCache(entity));
Convenience method to require other policy
CachePolicy<T> and(CachePolicy<T> other) => CachePolicy((entity) => canCache(entity) && other.canCache(entity));