Fix typo.
Wait on any promise that is returned by a function, regardless if it's part of the memo object.