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 |
|
Niklas Keller
|
5bd21bed06
|
Fix documentation in CancellationTokenSource
|
2021-12-02 21:52:45 +01:00 |
|
Niklas Keller
|
2645e0fd84
|
Fix documentation in CancellationToken
|
2021-12-02 21:48:13 +01:00 |
|
Niklas Keller
|
e12c20cbda
|
Use cancellation as parameter name for CancellationToken
|
2021-12-02 21:43:32 +01:00 |
|
Aaron Piotrowski
|
3926b3f978
|
Rename launch to async
Thus we've come full circle :P
|
2021-12-02 13:44:10 -06:00 |
|
Niklas Keller
|
31a34bcb18
|
Make WeakenTest less timing dependent
|
2021-12-02 19:12:06 +01:00 |
|
Niklas Keller
|
557913da92
|
Make WeakenTest less timing dependent
|
2021-12-02 19:01:05 +01:00 |
|
Niklas Keller
|
bdce2f0896
|
Use \Closure in launch
|
2021-12-02 18:49:00 +01:00 |
|
Niklas Keller
|
6d3bf39a7e
|
Cache closure in launch()
|
2021-12-02 18:44:05 +01:00 |
|
Niklas Keller
|
37db787ba6
|
Use \Closure instead of callable
|
2021-12-02 18:40:51 +01:00 |
|
Niklas Keller
|
fee62e5b5e
|
Install ext-fiber
|
2021-12-02 18:29:56 +01:00 |
|