Memoize inside ContinuationTypedPipe