resolve memoized fn with cached result