FileRowProcessor
OCP App SDK / FileRowProcessor
Interface: FileRowProcessor<T>
Defined in: src/util/FileStream.ts:5
Type Parameters
T
T
Methods
complete()
complete():
Promise
<void
>
Defined in: src/util/FileStream.ts:17
Complete any pending work. Called when the source file has
been completely processed.
Returns
Promise
<void
>
process()
process(
row
):Promise
<boolean
>
Defined in: src/util/FileStream.ts:11
Process a row from a file.
Parameters
row
T
to process
Returns
Promise
<boolean
>
true if it is safe to pause after this row, false otherwise
Updated 3 days ago