onValue method

void onValue(
  1. Memo<T, A> memo,
  2. A arg,
  3. T value,
  4. bool fromCache,
)

It's called after the memoized function has completed its execution.

Implementation

void onValue(Memo<T, A> memo, A arg, T value, bool fromCache) {}