Dev Guide
Dev GuideUser GuideGitHubNuGetDevCommunitySubmit a ticketLog In
GitHubNuGetDevCommunitySubmit a ticket

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

NameTypeDescription
rowTto process

Returns

Promise<boolean>

true if it is safe to pause after this row, false otherwise

Defined in: src/util/FileStream.ts:11