We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c83c26a commit e8da1e0Copy full SHA for e8da1e0
tests/timer.php
@@ -11,14 +11,14 @@
11
require dirname(dirname(__FILE__)) . DS . 'vendor' . DS . 'autoload.php';
12
13
$loop = \React\EventLoop\Factory::create();
14
-$loop->addPeriodicTimer(60, function() {
+$loop->addPeriodicTimer(10, function() {
15
for($i=0; $i<10; $i++) {
16
echo "function A", PHP_EOL;
17
sleep(1);
18
}
19
});
20
21
22
23
echo "function B", PHP_EOL;
24
0 commit comments