Ask a question to get started
Enter to send•Shift+Enter new line
SyncTextProjection( self, )
SyncProjection
Install a lazy-start callback invoked on first consumption.
Install the pull callback the iterator uses to drain the source.
Append a text delta.
Set the final accumulated text and mark the projection as done.
Drain and return the full accumulated string, or empty if unfinished.
String-specialized sync projection.
Adds typed string producers and consumers, plus __str__, __bool__, __repr__ for ergonomic use with .text and .reasoning projections.
__str__
__bool__
__repr__
.text
.reasoning