1
0
mirror of https://github.com/danog/amp.git synced 2024-12-11 17:09:40 +01:00
Commit Graph

1617 Commits

Author SHA1 Message Date
Niklas Keller
c42a587f51
Remove images from README to ease website sync 2022-08-24 06:37:40 +02:00
Niklas Keller
0a3520b145
Move remaining docs to README 2022-08-17 20:19:13 +02:00
Niklas Keller
8a9c14d37c
Fix note syntax to be compatible with GitHub 2022-08-17 19:34:55 +02:00
Niklas Keller
412b111c2d
Move cancellation docs to README 2022-08-17 19:32:43 +02:00
Niklas Keller
a34d7d3cf4
Update README 2022-08-17 19:04:49 +02:00
Niklas Keller
3ee220b49e
Update license date 2022-08-17 18:37:29 +02:00
Aaron Piotrowski
3f5b6acb78
Remove unnecessary template type 2022-08-10 16:57:21 -05:00
Aaron Piotrowski
98fbd2270e
Add test for issue #394 2022-07-31 22:55:54 -05:00
Aaron Piotrowski
60c65cfc8e
No need to null $args if overwriting later 2022-07-31 22:34:15 -05:00
Tobias Bachert
d333e86919
Allow GC of arguments during async() closure execution (#395) 2022-07-31 22:10:10 -05:00
Niklas Keller
354a2ec252 Remove deprecated future combinators 2022-07-12 22:19:22 +02:00
Aaron Piotrowski
f682341c85
Add note regarding why function args are being nulled 2022-07-11 22:00:57 -05:00
Niklas Keller
1593a08014 Fix code style 2022-07-12 00:22:11 +02:00
Niklas Keller
e56a64d688 Fix circular reference on exceptions
Fixes #394.
2022-07-12 00:15:19 +02:00
Aaron Piotrowski
41764f01ef
Skip style fixer on Windows 2022-06-25 13:22:59 -05:00
Aaron Piotrowski
9db31ffd39
Fix requires annotation 2022-06-25 13:18:35 -05:00
Tobias Bachert
9579bc7ab5
Fix weakClosure() not preserving original scope (#393) 2022-06-25 13:14:14 -05:00
Aaron Piotrowski
b2575fa448
Fix CompositeCancellation::isRequested() and throwIfRequested() 2022-06-25 13:04:11 -05:00
Aaron Piotrowski
01c289ec8d
Add SignalCancellation (#390) 2022-06-14 18:21:55 -05:00
Aaron Piotrowski
557f98d602
Fix CompositeCancellation when two are cancelled
Also fixed releasing the reference to contained Cancellations as soon as one is cancelled.
2022-05-16 14:23:33 -05:00
Jérôme Tamarelle
d8d0b8fabe
Update combinator function names in docs (#389) 2022-04-20 06:52:32 +02:00
Aaron Piotrowski
3f679dbbb9
Add traits to forbid cloning and serialization (#388) 2022-04-09 19:26:22 +02:00
Aaron Piotrowski
f37d18cedb
Remove deprecated option from Psalm config 2022-04-07 22:59:39 -05:00
Aaron Piotrowski
3f1a08d827
Add template tags to weakClosure() 2022-04-07 22:58:45 -05:00
Aaron Piotrowski
dc327dd458
Add Closable interface (#387) 2022-04-03 11:28:42 -05:00
Aaron Piotrowski
4b444ccd78
Update async() docblock closure declaration 2022-03-28 20:23:14 -05:00
Aaron Piotrowski
8ef4a88528
Remove ext-fiber from github actions setup 2022-02-26 09:11:57 -06:00
Aaron Piotrowski
604c67b760
Update styles using new rules 2022-02-24 14:28:52 -06:00
Aaron Piotrowski
a1d9c426db
Add readonly where applicable 2022-02-24 14:26:14 -06:00
Aaron Piotrowski
082c100fc1
Require PHP 8.1 2022-02-24 14:23:10 -06:00
Aaron Piotrowski
6850246beb
Update deprecated method name to new name 2022-02-20 12:36:21 -06:00
Aaron Piotrowski
f38e756a3d
Fixed memory leak in CombinedCancellationToken (#384)
Co-authored-by: Artur Khasanov <ah@self.team>
2022-02-20 12:33:37 -06:00
Niklas Keller
d05b7d56e9 Upgrade to php-cs-fixer v3 2022-02-01 20:30:04 +01:00
Niklas Keller
379177aba9 Revert "Add @throws CancelledException to Future::await"
This reverts commit fc9debb885.
2022-01-16 17:46:53 +01:00
Niklas Keller
2a076099dd
Rename combinators, introduce CompositeLengthException (#383) 2022-01-16 17:39:04 +01:00
Aaron Piotrowski
cadf1c0069
Cancel DeferredCancellation when destroyed (#382)
Related to issue #381.
2022-01-16 16:21:21 +01:00
Niklas Keller
b8da6a0782 Improve exception message of UnhandledFutureError
Fixes #380.
2022-01-14 20:06:23 +01:00
Niklas Keller
3285f142af Declare compatibility with revolt 0.2.x 2022-01-14 19:08:09 +01:00
Aaron Piotrowski
874d567b12
Mark Future template as covariant 2022-01-10 10:17:27 -06:00
Niklas Keller
fc9debb885 Add @throws CancelledException to Future::await 2021-12-23 01:02:16 +01:00
Niklas Keller
f2bd72a020 Add cancellation example 2021-12-23 01:02:01 +01:00
Niklas Keller
e44a190dd4 Improve async example 2021-12-12 21:09:19 +01:00
Niklas Keller
1a0869098b Add async example 2021-12-12 21:06:34 +01:00
Aaron Piotrowski
cb772a5972
Update for phpunit-util changes 2021-12-05 10:33:49 -06:00
Aaron Piotrowski
e629cc81e7
Add optional args to async (#379) 2021-12-04 10:01:56 -06:00
Niklas Keller
b8764391dd Use revolt/event-loop ^0.1 2021-12-03 21:55:11 +01:00
Niklas Keller
521624b9f7 Fix rename leftovers 2021-12-03 01:02:05 +01:00
Niklas Keller
d94a1a54aa Fix psalm config 2021-12-03 00:58:44 +01:00
Niklas Keller
ca77e6bbc0 Update future docs 2021-12-03 00:50:57 +01:00
Aaron Piotrowski
aa8b23c039
Update a few remaining callable refs to Closure 2021-12-02 17:49:48 -06:00