1
0
mirror of https://github.com/danog/amp.git synced 2024-12-04 02:17:54 +01:00
amp/examples
Aaron Piotrowski d496c9db24
Resolve promise with YieldedValue
A suggested alternative to resolving with [$yieldedValue] since static analysis (specifically Psalm) doesn't play well with that API.

Will revert if Psalm changes or we decide to resolve with [$yieldedValue] anyway.
2020-09-24 12:53:29 -05:00
..
coroutines Fix typo (#268) 2019-04-18 18:41:34 +02:00
event-loop Automatically add \ for buitins (#186) 2017-11-29 13:36:50 +01:00
exceptions Cover examples with psalm and add @psalm-yield to Promise 2020-04-04 15:49:26 +02:00
iterators Cover examples with psalm and add @psalm-yield to Promise 2020-04-04 15:49:26 +02:00
promises Cover examples with psalm and add @psalm-yield to Promise 2020-04-04 15:49:26 +02:00
psalm Fix code style and run PsalmTest only on PHP 7.1+ 2020-04-30 06:54:50 +02:00
sockets Add example cross-ref to amphp/socket 2017-10-30 21:56:31 +01:00
stream Resolve promise with YieldedValue 2020-09-24 12:53:29 -05:00