Re: [VOTE] True Async RFC 1.6

From: Date: Tue, 25 Nov 2025 09:40:53 +0000
Subject: Re: [VOTE] True Async RFC 1.6
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-129448@lists.php.net to get a copy of this message
Hello

> Susie doesn't know anything about the implementation, other than what is defined in the
> interface. That is literally the purpose of accepting an interface.
> So it sounds like her only safe option is to restrict her usage of async coroutines to small
> self-contained pieces of code, and only use injected dependencies and callbacks in the
> "main" coroutine where they were passed in.

Exactly. This means that for asynchronous logging, a separate
interface must be introduced in order to guarantee correct behavior.


Thread (106 messages)

« previous php.internals (#129448) next »