PendingConversationTitle
class PendingConversationTitle
Properties
| protected WaitConcurrent|null | $concurrent | ||
| protected string | $title | ||
| protected Throwable|null | $failure |
Methods
__construct(Closure $generate, Closure|null $runner)
Start the title request in its captured operation context.
string
value()
Wait for the title and return the same result on subsequent reads.
string|null
valueIfReady()
Return the title if generation has already completed, without waiting.
void
cancel()
Cancel and join any title request that is still running.
Details
at line 31
__construct(Closure $generate, Closure|null $runner)
Start the title request in its captured operation context.
at line 49
string
value()
Wait for the title and return the same result on subsequent reads.
at line 64
string|null
valueIfReady()
Return the title if generation has already completed, without waiting.
at line 72
void
cancel()
Cancel and join any title request that is still running.