@override
(chunk)
| 112 | |
| 113 | /** @override */ |
| 114 | write(chunk) { |
| 115 | if (this.eof_) { |
| 116 | throw new Error('closed already'); |
| 117 | } |
| 118 | if (chunk) { |
| 119 | this.parser_.write(/** @type {string} */ (chunk)); |
| 120 | } |
| 121 | this.schedule_(); |
| 122 | return this.success_; |
| 123 | } |
| 124 | |
| 125 | /** @override */ |
| 126 | close() { |