Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / cacheIf

Function: cacheIf() ​

cacheIf(this, condition, name?, options?, block?): Promise<null>

Defined in: packages/actionview/dist/helpers/cache-helper.d.ts:33

Parameters ​

ParameterType
thisCacheHelperHost
conditionunknown
name?unknown
options?Record<string, unknown>
block?() => unknown

Returns ​

Promise<null>