BaseFetcherJobRunnerOptions<C>: Omit<Utils.JobRunnerOptions, "name" | "intervalFn"> & {
    checkComplete?: ((ctx: {
        error?: Error;
        fetcherState: BaseFetcherState<C>;
        jobState: BaseFetcherJobState;
        newItems: boolean;
    }) => Promise<boolean>);
    handleFetch: ((ctx: {
        firstRun: boolean;
        interval: number;
    }) => Promise<FetcherJobRunnerHandleFetchResult<C>>);
    updateCursors?: ((ctx: {
        lastCursors: BaseFetcherPaginationCursors<C>;
        prevCursors?: BaseFetcherPaginationCursors<C>;
    }) => Promise<FetcherJobRunnerUpdateCursorResult<C>>);
}

Type Parameters

  • C

Generated using TypeDoc