com.cognite.sdk.scala.common.internal
Run f
with get
, and if f
fails and shouldInvalidate
returns true
Run f
with get
, and if f
fails and shouldInvalidate
returns true
If true, invalidate. If false or not defined, do not invalidate. Default: always invalidate (assuming NonFatal)
Runner that checks if refresh is needed before each run
call, and additionally can invalidate on errors
(Since version ) see corresponding Javadoc for more information.