useCallbacks()
/**
* @throws Throwable
*
* This method is used to use the callbacks of the promise.
*/
public function useCallbacks(): void;
This function is only used when absolutely necessary, it will help you use all the callbacks that promise holds, even in any state.
Last updated