1
0
mirror of https://github.com/danog/amp.git synced 2024-12-11 17:09:40 +01:00
amp/lib/Internal
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
..
AutoDisposingStream.php Add onDisposal() and onCompletion() to Stream 2020-09-24 12:53:31 -05:00
EmitSource.php Add onDisposal() and onCompletion() to Stream 2020-09-24 12:53:31 -05:00
functions.php Add isDebugEnabled function 2020-09-24 12:53:30 -05:00
Placeholder.php Add Deferred::isResolved() and StreamSource::isComplete() 2020-09-24 12:53:30 -05:00
PrivateIterator.php Add psalm static analysis on level 6 2020-03-28 12:23:46 +01:00
PrivatePromise.php Add psalm static analysis on level 6 2020-03-28 12:23:46 +01:00
Producer.php Add isDebugEnabled function 2020-09-24 12:53:30 -05:00
ResolutionQueue.php Increase psalm error level to level 4 2020-03-28 20:27:42 +01:00