In JavaScript, async functions always return a promise object.
-To obtain the underlying value of the promise, the awaitthenawait operator or a call to then should be used.
+Attempting to use a Promise object instead of its underlying value can lead to unexpected behavior.
-Use the awaitthenawait operator to get the value contained in the promise.
+Alternatively, call then on the promise and use the value passed to the callback.