What is the name of the pattern where you set state data before async calls finish?

So the aforementioned pattern would be something like this:

  • User submits form
  • Page immediately updates to show new entered data, with no page loader or wait time
  • If there is a problem with the async api call, the state is reverted and an error message is then shown

I swear that I have seen a pattern with this name but I am drawing a total blank.