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