What exactly is the done callback function in the vue animation hook function, and what is the functional mechanism?

get this result by printing the done callback function:

compare () {

if (!called) {
  called = true;
  fn.apply(this, arguments);
}

}

this is how the
handleEnter (el,done) {

of the done callback function is used in the hook function.
                setTimeout(function () {
                    el.style.color = "green";
                },2000)
                done()
            },
The

api document says:
when only JavaScript transitions are used, done must be used for callbacks in enter and leave. Otherwise, they will be called by Synchronize and the transition will be completed immediately.
I did not find the definition of the done function in the source code of vue, so I would like to ask how this done function works. Thank you

Apr.19,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37cb5-2c0a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37cb5-2c0a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?