getCallback()

/**
 * @throws Throwable
 *
 * This method is used to get the callback of the promise.
 */
public function getCallback(): callable;

This method will return the callback of that promise.

Last updated