/** * This method is used to get the id of the promise. */ public function getId(): int;
Similar to Async, it also has a function to get the stack position in the event loop.
Async
Last updated 1 year ago