pipeproc
Version:
Multi-process log processing for nodejs
11 lines (10 loc) • 436 B
TypeScript
import { LevelDown as LevelDOWN } from "leveldown";
import { IActiveTopics } from "./pipeProc";
import { IProc } from "./proc";
export declare function ackCommitLog(db: LevelDOWN, activeTopics: IActiveTopics, activeProcs: IProc[], procName: string, log: {
topic: string;
body: string;
} | {
topic: string;
body: string;
}[], callback: (err: Error | null, status: [string | undefined, string | string[]]) => void): void;