or method

CachePolicy<T> or(
  1. CachePolicy<T> other
)

Convenience method to concatenate other policy

Implementation

CachePolicy<T> or(CachePolicy<T> other) => CachePolicy((entity) => canCache(entity) || other.canCache(entity));