The item to return to replace() instead of the replaced item. Returning a rejected promise will not block the operation, but will return a rejected promise to the caller as well as trigger the onFailure() hook.
Description
A hook that is triggered after an replace() operation.
The replaced item.