1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 17:37:50 +01:00
amp/test
Aaron Piotrowski dd0f01f4db
Add onDisposal() and onCompletion() to Stream
onCompletion callbacks are invoked if complete() or fail() is called before the stream is disposed.

onDisposal callbacks are invoked if the stream is disposed before being completed or failed.

Forbid failing a stream with DisposedException.
2020-09-24 12:53:31 -05:00
..
Iterator Add Streams 2020-09-24 12:53:27 -05:00
Loop Enforce timer interval as minimum time to execution (#319) 2020-07-14 21:45:35 +02:00
Stream Drop YieldedValue 2020-09-24 12:53:29 -05:00
AdaptTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
AllTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
AnyTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
AsyncGeneratorTest.php Add onDisposal() and onCompletion() to Stream 2020-09-24 12:53:31 -05:00
BaseTest.php Catch also \Exception in clearLoopRethrows() 2019-05-31 11:38:02 -05:00
CallableMakerTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CallTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CancellationTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
CoroutineTest.php Fix code style 2019-05-31 11:38:02 -05:00
DeferredTest.php Add Deferred::isResolved() and StreamSource::isComplete() 2020-09-24 12:53:30 -05:00
DelayedTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
FailureTest.php Add Promise\succeed() and Promise\fail() 2020-09-24 12:53:31 -05:00
FirstTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
InvalidYieldErrorTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
LazyPromiseTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
LoopTest.php Enforce timer interval as minimum time to execution (#319) 2020-07-14 21:45:35 +02:00
PlaceholderTraitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
ProducerTest.php Only create deferred for backpressure if necessary 2019-09-21 18:30:14 +02:00
ProducerTraitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
PromiseTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
PsalmTest.php Enforce timer interval as minimum time to execution (#319) 2020-07-14 21:45:35 +02:00
RethrowTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
SomeTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
StreamSourceTest.php Add onDisposal() and onCompletion() to Stream 2020-09-24 12:53:31 -05:00
StructTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
SuccessTest.php Add Promise\succeed() and Promise\fail() 2020-09-24 12:53:31 -05:00
TimeoutCancellationTokenTest.php Provide useful exception trace in TimeoutCancellationToken (#303) 2020-04-04 17:05:26 +02:00
TimeoutTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
TimeoutWithDefaultTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
WaitTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00
WrapTest.php Fix exceptions bubbling from Coroutine::__destruct 2019-05-31 11:38:02 -05:00