/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Exploring Coroutines in PHP
(doeken.org)
116 points
doekenorg
| 1 comments |
05 Jul 25 09:34 UTC
|
HN request time: 0s
|
source
Show context
Amakanski
◴[
08 Jul 25 09:53 UTC
]
No.
44498559
[source]
▶
>>44471388 (OP)
#
>> This would require a yield to syntax, which doesn't exist.
There is however the 'yield from' statement.
replies(3):
>>44498922
#
>>44499113
#
>>44499996
#
1.
doekenorg
◴[
08 Jul 25 13:53 UTC
]
No.
44499996
[source]
▶
>>44498559
#
Yes, there is! However, even if the `iterable` it was yielding from a different Generator, the "outer" generator would still be "running", which still makes it asymmetrical. `yield from` is mentioned in the other post on Generators, though.
ID:
GO
↑