1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
amp/lib
Aaron Piotrowski fdeb427717 Use simple assignment if queue is empty
The common case is for the queue to be empty at the start of the tick, so a call to array_merge() can be avoided in most cases.
2017-04-20 11:26:13 -05:00
..
Internal Move Watcher to Loop namespace 2017-04-18 09:38:16 -05:00
Loop Use simple assignment if queue is empty 2017-04-20 11:26:13 -05:00
CallableMaker.php Switch from AsyncInterop\Promise to Amp\Promise 2017-03-10 21:58:46 +01:00
Coroutine.php Null circular reference on resolution 2017-04-06 09:24:21 -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 Fix line lengths 2017-04-13 18:49:32 +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 Run returned generator as coroutine from onResolve and onEmit callbacks 2017-03-27 18:37:55 -05:00
Loop.php Rename Listener to StreamIterator 2017-04-13 18:20:46 +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 Rename Promise::when to Promise::onResolve, resolves #77 2017-03-21 17:23:37 +01: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 Improve tests and kill some Humbug mutants 2017-01-07 22:55:34 +01:00
Success.php Run returned generator as coroutine from onResolve and onEmit callbacks 2017-03-27 18:37:55 -05:00
TimeoutException.php Merge pull request #54 from amphp/ex-msg 2017-01-15 08:48:56 -06:00
UnionTypeError.php Add UnionTypeError 2017-03-14 13:15:31 -05:00