It's called after the memoized function has completed its execution.
void onValue(Memo<T, A> memo, A arg, T value, bool fromCache) {}