Re: PHP True Async RFC Stage 4

From: Date: Thu, 23 Oct 2025 16:48:29 +0000
Subject: Re: PHP True Async RFC Stage 4
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-128937@lists.php.net to get a copy of this message
> If coroutines sometimes return single values and sometimes return multiple values, it becomes > much harder to write a generic async cache/memoization system, because you can't indicate via > the > type system that a single value is expected. There was never a proposal for coroutines to return different values. The whole debate revolves around the await() function. But it seems we’ve already decided what to do with it.

« previous php.internals (#128937) next »