sometimes we need to separately process first data, but add it to usual processing as well
| 37 | |
| 38 | // sometimes we need to separately process first data, but add it to usual processing as well |
| 39 | void AddFirstLine(TData&& firstLine) { |
| 40 | CB_ENSURE(!FirstLineInReadBuffer, "TAsyncRowProcessor: double call to AddFirstLine"); |
| 41 | ReadBuffer[0] = std::move(firstLine); |
| 42 | FirstLineInReadBuffer = true; |
| 43 | } |
| 44 | |
| 45 | /* |
| 46 | * readFunc should be of type 'bool(TData* data)', |
no test coverage detected