or method
- CachePolicy<
T> other
Convenience method to concatenate other policy
Implementation
CachePolicy<T> or(CachePolicy<T> other) => CachePolicy((entity) => canCache(entity) || other.canCache(entity));
Convenience method to concatenate other policy
CachePolicy<T> or(CachePolicy<T> other) => CachePolicy((entity) => canCache(entity) || other.canCache(entity));