getResult()

/**
 * This method is used to get the result of the promise.
 */
public function getResult(): mixed;

This is the method used to get the results of those promises even if they have not been fulfilled or have been fulfilled (or rejected)

Last updated