onFinish method

void onFinish(
  1. Memo<T, A> memo,
  2. A arg
)

It's called after the memoized function has completed its execution, regardless of whether it was successful or encountered an error.

Implementation

void onFinish(Memo<T, A> memo, A arg) {}