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 |
|
Aaron Piotrowski
|
18b0348ddc
|
Limit Future::map(), catch(), and finally() to Closure
|
2021-12-02 17:49:21 -06:00 |
|
Aaron Piotrowski
|
cfb527a9fc
|
Fixed phpunit-util, so Closure::fromCallable() not necessary
|
2021-12-02 17:47:30 -06:00 |
|
Niklas Keller
|
79c57650ae
|
Update future docs
|
2021-12-03 00:33:00 +01:00 |
|
Aaron Piotrowski
|
49f5a5951a
|
Fix some Psalm issues
|
2021-12-02 17:28:56 -06:00 |
|
Niklas Keller
|
d70896df73
|
Update documentation
|
2021-12-03 00:10:04 +01:00 |
|
Aaron Piotrowski
|
1a2be8f2b2
|
Rename weaken to weakClosure and limit to closures
|
2021-12-02 17:08:12 -06:00 |
|
Niklas Keller
|
d20f07acee
|
Update cancellation docs
|
2021-12-02 23:45:45 +01:00 |
|
Niklas Keller
|
19937d75d0
|
Remove outdated docs
|
2021-12-02 23:38:17 +01:00 |
|
Niklas Keller
|
6055ace6c9
|
Update README
|
2021-12-02 23:35:02 +01:00 |
|
Niklas Keller
|
af964df98b
|
Remove 1.x and 2.x from CHANGELOG
|
2021-12-02 23:16:14 +01:00 |
|
Niklas Keller
|
f1637616bf
|
Fix directory in psalm config
|
2021-12-02 23:13:42 +01:00 |
|
Niklas Keller
|
467ab0aa06
|
Remove fiber stubs
|
2021-12-02 23:12:56 +01:00 |
|
Niklas Keller
|
9f6b75485f
|
Add tests for iterator cancellation
|
2021-12-02 23:10:12 +01:00 |
|
Niklas Keller
|
fb7e5b69a9
|
Fix code style
|
2021-12-02 23:00:12 +01:00 |
|
Niklas Keller
|
e26a1123e9
|
Cleanup rename leftovers
|
2021-12-02 22:40:18 +01:00 |
|
Niklas Keller
|
99a6b487c3
|
Rename Deferred to DeferredFuture
|
2021-12-02 22:29:45 +01:00 |
|
Niklas Keller
|
112e813914
|
Rename CancellationToken to Cancellation
|
2021-12-02 22:24:56 +01:00 |
|