Niklas Keller
|
ded941aab8
|
Add hint about assertions and AMP_DEBUG for unhandled errors
|
2022-12-18 16:07:25 +01:00 |
|
Aaron Piotrowski
|
92e225300d
|
Declare strict types
|
2022-12-16 16:23:48 -06:00 |
|
Niklas Keller
|
f4f01381fd
|
Track origin of unhandled futures (#405)
|
2022-12-16 16:21:18 -06:00 |
|
Niklas Keller
|
352d8c030a
|
Mark isDebugEnabled as internal
|
2022-11-06 22:19:31 +01:00 |
|
Niklas Keller
|
46890fed24
|
Remove unused createTypeError
|
2022-11-06 22:16:33 +01:00 |
|
Niklas Keller
|
25e4923d14
|
Add missing generics to Future
|
2022-11-06 22:07:04 +01:00 |
|
Bilge
|
288e8fc066
|
Add fluent interface to Future::ignore (#403)
|
2022-11-06 22:02:53 +01:00 |
|
Aaron Piotrowski
|
3f5b6acb78
|
Remove unnecessary template type
|
2022-08-10 16:57:21 -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
|
e56a64d688
|
Fix circular reference on exceptions
Fixes #394.
|
2022-07-12 00:15:19 +02: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 |
|
Aaron Piotrowski
|
3f679dbbb9
|
Add traits to forbid cloning and serialization (#388)
|
2022-04-09 19:26:22 +02: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
|
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
|
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
|
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 |
|
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 |
|
Aaron Piotrowski
|
e629cc81e7
|
Add optional args to async (#379)
|
2021-12-04 10:01:56 -06: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 |
|
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 |
|
Aaron Piotrowski
|
1a2be8f2b2
|
Rename weaken to weakClosure and limit to closures
|
2021-12-02 17:08:12 -06: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
|
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
|
1bf42c65eb
|
Rename lib → src
|
2021-12-02 18:20:10 +01:00 |
|
Daniel Lowrey
|
c3650dce88
|
Fixed really epic syntax fail
|
2014-08-02 01:09:07 -04:00 |
|
Daniel Lowrey
|
16190c9b32
|
Improved composer support
|
2014-07-22 13:47:22 -04:00 |
|