/** * This method is used to get the time out of the promise. */ public function getTimeOut(): float;
It's almost the same as setTimeout(), but on the other hand it returns the time that promise will start fulfilling.
setTimeout()
Last updated 2 years ago