cache1state_0params_x<Result, State1, Extra> function
Result Function() Function(State1, Extra)
cache1state_0params_x<Result, State1, Extra>(
- Result Function() f(
- State1,
- Extra
Cache for 1 immutable state, no parameters, and some extra information. This is the same
as cache1state but with an extra information. Note: The extra information is not used in
any way to decide whether the cache should be used/recalculated/evicted. It's just passed down
to the f
function to be used during the result calculation.
Implementation
Result Function() Function(State1, Extra) cache1state_0params_x<Result, State1, Extra>(
Result Function() Function(State1, Extra) f,
) =>
c.cache1state_0params_x(f);