Re: PHP True Async RFC Stage 4

From: Date: Tue, 21 Oct 2025 21:57:13 +0000
Subject: Re: PHP True Async RFC Stage 4
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-128889@lists.php.net to get a copy of this message

On Tue, Oct 21, 2025, at 19:11, Edmond Dantes wrote:
> Hi
> 
> > Awaitables should always represent a single value. Awaiting multiple times should never
> > result in a different value.
> Where did this rule come from?

I don’t think it’s a “rule” per se and why I suggested breaking it up into two different
kinds of Awaitables. Invariants make code easier to reason about and work with. The more invariants
you have, the easier it is to form, maintain, and refactor. 

— Rob


Thread (104 messages)

« previous php.internals (#128889) next »