isJustGetResult()

/**
 * This method is used to check if the promise is just to get the result.
 */
public function isJustGetResult(): bool;

This is a method used only to check whether a promise is a promise made immediately. In other words, this is the kind of promise that you don't need to keep resolve and reject callbacks.

When you call it returns a bool type.

Last updated