Last updated 1 year ago
/** * This method is used to get the return when catch or then of the promise is resolved or rejected. */ public function getReturn(): mixed;
Unlike , this method will return a type of return from the callback that the promise keeps in two states that have been fulfilled and rejected.
fulfilled
rejected
getResult()