cache2states_0params_x<Result, State1, State2, Extra> function

Result Function() Function(State1, State2, Extra) cache2states_0params_x<Result, State1, State2, Extra>(
  1. Result Function() f(
    1. State1,
    2. State2,
    3. 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);