cache2states_0params_x<Result, State1, State2, Extra> function
Result Function() Function(State1, State2, Extra)
cache2states_0params_x<Result, State1, State2, Extra>(
- Result Function() f(
- State1,
- State2,
- Extra
Cache for 2 immutable states, 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, State2, Extra)
cache2states_0params_x<Result, State1, State2, Extra>(
Result Function() Function(State1, State2, Extra) f,
) =>
c.cache2states_0params_x(f);