Aaron Piotrowski
|
eaa7c45049
|
Make Driver an interface
|
2020-11-01 09:43:21 -06:00 |
|
Aaron Piotrowski
|
6cf7ae13bb
|
Remove automatic Generator to Coroutine conversion
|
2020-10-30 10:36:19 -05:00 |
|
Aaron Piotrowski
|
7612ef3f1e
|
Drop direct conversion of React promises
React promises are still supported using Amp\Promise\adapt().
|
2020-10-30 10:19:12 -05:00 |
|
Aaron Piotrowski
|
1db52920ab
|
Mark loop classes final
|
2020-10-09 13:23:33 -05:00 |
|
Aaron Piotrowski
|
d48e6bd5d2
|
Add more class and return types
More PHP 7.1 to 8 types added.
|
2020-09-24 22:17:13 -05:00 |
|
Aaron Piotrowski
|
5f6db028ab
|
Initial fiber support
|
2020-09-24 12:53:32 -05:00 |
|
Niklas Keller
|
05483cdbef
|
Enforce timer interval as minimum time to execution (#319)
Co-authored-by: Aaron Piotrowski <aaron@trowski.com>
|
2020-07-14 21:45:35 +02:00 |
|
Niklas Keller
|
caea418fe8
|
Increase psalm error level to level 2
|
2020-03-28 22:20:44 +01:00 |
|
Niklas Keller
|
885cd68828
|
Increase psalm error level to level 3
|
2020-03-28 21:55:44 +01:00 |
|
Niklas Keller
|
a75164b66b
|
Add psalm static analysis on level 6
This also fixes mixed types in some cases.
|
2020-03-28 12:23:46 +01:00 |
|
Niklas Keller
|
5622edba37
|
Implement monotonic timer using PHP 7.3's hrtime()
|
2018-12-10 20:07:11 +01:00 |
|
Aaron Piotrowski
|
5889f4e0fd
|
Randomize loop now offset
|
2018-11-26 21:59:15 +01:00 |
|
Aaron Piotrowski
|
77a12c823b
|
Add Loop::now()
|
2018-11-26 21:59:15 +01:00 |
|
Niklas Keller
|
fa3fe1d20b
|
Apply PSR-2
|
2018-06-18 20:00:01 +02:00 |
|
Aaron Piotrowski
|
22eb14d736
|
Avoid odd ev event nulling behavior
|
2018-03-20 09:54:22 -05:00 |
|
Niklas Keller
|
3f08f615d8
|
Fix segfault with ev on shutdown, fixes amphp/parallel#3
|
2017-12-19 18:27:18 +01:00 |
|
Niklas Keller
|
ef6c2b10ee
|
Micro-optimize interval = 0 if
|
2017-05-23 20:17:34 +02:00 |
|
Niklas Keller
|
38ef4d9ffa
|
Fix issues with interval = 0 repeat watchers, fixes #131
|
2017-05-23 19:46:23 +02:00 |
|
Aaron Piotrowski
|
89570e8f6d
|
Move Watcher to Loop namespace
|
2017-04-18 09:38:16 -05:00 |
|
Aaron Piotrowski
|
a927b3cb06
|
Separate functions into Promise and Stream namespaces
|
2017-03-15 19:02:04 -05:00 |
|
Niklas Keller
|
01c58ae90e
|
Fix EvDriver with throwing onSignal callback
|
2017-03-15 08:33:04 +01:00 |
|
Aaron Piotrowski
|
2ab7403ded
|
More code coverage ignores; throw Error instead of DomainException
|
2017-03-14 11:44:19 -05:00 |
|
Aaron Piotrowski
|
d7353d4d8f
|
Catch watcher callback exceptions individually
Exceptions thrown from watcher callbacks are now forwarded to the loop error handler without ending the current tick. Fixes #74.
|
2017-03-14 00:20:05 -05:00 |
|
Aaron Piotrowski
|
f040e8801e
|
Fast return on void watcher callback
|
2017-03-12 12:23:27 -05:00 |
|
Aaron Piotrowski
|
cd4328ab48
|
Merge branch 'react-compatibility'
|
2017-03-12 11:38:48 -05:00 |
|
Niklas Keller
|
f5f9410ec0
|
Rename Factory to DriverFactory, rename supported to isSupported
|
2017-03-12 11:25:21 +01:00 |
|
Niklas Keller
|
766b3224d1
|
Rename drivers to have a Driver instead of Loop suffix
|
2017-03-12 11:21:44 +01:00 |
|