pipeproc
Version:
Multi-process log processing for nodejs
5 lines (4 loc) • 347 B
TypeScript
import { LevelDown as LevelDOWN } from "leveldown";
import { IProc } from "./proc";
export declare function ack(db: LevelDOWN, activeProcs: IProc[], procName: string, callback: (err?: Error | null, ackedLogId?: string) => void): void;
export declare function prepareAck(db: LevelDOWN, myProc: IProc): import("./transaction").ITransaction<number>;