getId()
Unlike JavaScript, the Async class of this library contains the getId() method that aims to determine where the promise is queued.
$async = new Async(callback);
var_dump($async->getId());Output:
145Last updated
Unlike JavaScript, the Async class of this library contains the getId() method that aims to determine where the promise is queued.
$async = new Async(callback);
var_dump($async->getId());Output:
145Last updated