Re: PHP True Async RFC

From: Date: Sat, 08 Mar 2025 08:59:45 +0000
Subject: Re: PHP True Async RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
>
> Yes, that is much much nicer! It feel familiar to go:
>
> go file_get_contents($file[$i])
>
> And yes, I realize that would be a fun error in go, but you get the gist.
>
> — Rob
>

Yes, that's the point that we don't bother client code with any of the
async stuff 🙂

If we want to create "async space" for functions to have switching on IO,
only then do we call them like this, and the await'em all with awaitAll 🙂.

>


Thread (110 messages)

« previous php.internals (#126638) next »