1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
amp/lib
Aaron Piotrowski 45476b76a4 Reuse watcher resources when possible
Previously, disabling the sole read or write watcher for a stream would result in a duplicate UV-watcher for that stream being created. This keeps track of which UV-watchers are associated with a stream until the watcher is cancelled (not just disabled).
2017-04-24 19:19:22 -05:00
..
Internal Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
Loop Reuse watcher resources when possible 2017-04-24 19:19:22 -05:00
CallableMaker.php Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
Coroutine.php Handle invalid yield like a failed promise 2017-04-24 13:08:30 -05:00
Deferred.php Add missing namespace declarations 2017-04-15 23:16:50 +01:00
Emitter.php Add missing namespace declarations 2017-04-15 23:16:50 +01:00
Failure.php Run returned generator as coroutine from onResolve and onEmit callbacks 2017-03-27 18:37:55 -05:00
functions.php Rename createRunnable to asyncCoroutine and createCallable to coroutine 2017-04-24 15:27:04 +02:00
InvalidYieldError.php Reduce code duplication in Coroutine 2017-03-15 19:10:23 -05:00
Iterator.php Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
LazyPromise.php Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
Loop.php Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
MultiReasonException.php Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
Pause.php Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
Producer.php Rename Promise::when to Promise::onResolve, resolves #77 2017-03-21 17:23:37 +01:00
Promise.php Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
Stream.php Rename Stream::listen to Stream::onEmit 2017-03-21 18:29:51 +01:00
StreamIterator.php Rename Listener to StreamIterator 2017-04-13 18:20:46 +02:00
Struct.php Update php-cs-fixer to version 2 and upgrade rules 2017-04-24 16:22:02 +02:00
Success.php Replace UnionTypeError with factory function + minor doc changes 2017-04-24 15:27:04 +02:00
TimeoutException.php Replace UnionTypeError with factory function + minor doc changes 2017-04-24 15:27:04 +02:00