getFiber()

/**
 * This method is used to get the fiber of the promise.
 */
public function getFiber(): Fiber;

Of course, this library is based on Fiber & Generator so when we call this method, it will return a Fiber that the promise holds for us.

Last updated