(chunks)
| 2194 | } |
| 2195 | |
| 2196 | function writevSync(chunks) { |
| 2197 | if (closed || errored || stream.#inner.state.writeEnded || drainWakeup != null) { |
| 2198 | return false; |
| 2199 | } |
| 2200 | chunks = convertChunks(chunks); |
| 2201 | let len = 0; |
| 2202 | for (const c of chunks) len += TypedArrayPrototypeGetByteLength(c); |
| 2203 | if (len === 0) return true; |
| 2204 | if (stream.#inner.state.writeDesiredSize === 0) return false; |
| 2205 | const result = handle.write(chunks); |
| 2206 | if (result === undefined) return false; |
| 2207 | totalBytesWritten += len; |
| 2208 | return true; |
| 2209 | } |
| 2210 | |
| 2211 | async function writev(chunks, options = kEmptyObject) { |
| 2212 | validateObject(options, 'options'); |
no test coverage detected