1
0
mirror of https://github.com/danog/amp.git synced 2024-12-13 01:47:33 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Piotrowski
3ebd44ee09
defer instead of Loop::defer
Callbacks should be run in a fiber in case they await.
2020-11-01 11:14:03 -06:00
Aaron Piotrowski
6cf7ae13bb
Remove automatic Generator to Coroutine conversion 2020-10-30 10:36:19 -05:00
Niklas Keller
fc423c7db5 Remove static to access $this 2020-10-25 21:44:01 +01:00
Aaron Piotrowski
eec21c12c6
Fix use before init 2020-10-22 23:03:58 -05:00
Aaron Piotrowski
bf58e595be
Defer cancellation callback 2020-10-02 13:55:46 -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
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
b57fc2e2b3 Remove PHP 7.1 feature usage for 7.0 compat 2019-08-02 22:16:57 +02:00
Niklas Keller
d4fc8ce7b3 Add CombinedCancellationToken
Implementation has been used in http-client before.
2019-08-02 22:09:38 +02:00