cache3states_0params_x<Result, State1, State2, State3, Extra> function
Result Function() Function(State1, State2, State3, Extra)
cache3states_0params_x<Result, State1, State2, State3, Extra>(
- Result Function() f(
- State1,
- State2,
- State3,
- Extra,
Cache for 3 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, State3, Extra)
cache3states_0params_x<Result, State1, State2, State3, Extra>(
Result Function() Function(State1, State2, State3, Extra) f,
) =>
c.cache3states_0params_x(f);