From 78a42de837928cf7d10a1ae04d7e82e56d66e1e2 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Tue, 23 Jan 2018 19:51:15 -0500 Subject: API update --- tests/delay.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/delay.php (limited to 'tests/delay.php') diff --git a/tests/delay.php b/tests/delay.php new file mode 100644 index 00000000..bfde2fc4 --- /dev/null +++ b/tests/delay.php @@ -0,0 +1,18 @@ +receive($ctx)) { + try { + usleep($in * 1000); + $rr->send(''); + } catch (\Throwable $e) { + $rr->error((string)$e); + } +} \ No newline at end of file -- cgit v1.2.3