Closed Lelya closed 11 years ago
Hi,
this is not really related to stomp, but is part of what the react event loop provides.
Quick example:
$loop->addTimer(5, function () {
// do something in 5 seconds
});
There's more examples in the README and the tests of that event loop component.
Please show how to use the One-off timers.