Transform each event in registration order.
(self, callback: object)
| 138 | return self |
| 139 | |
| 140 | def map(self, callback: object) -> ChatResponseStream: |
| 141 | """Transform each event in registration order.""" |
| 142 | self._native.map(callback) |
| 143 | return self |
| 144 | |
| 145 | def on_complete(self, callback: object) -> ChatResponseStream: |
| 146 | """Run a callback once after normal stream exhaustion.""" |
no outgoing calls