UNPKG

pipeproc

Version:

Multi-process log processing for nodejs

5 lines (4 loc) 387 B
import { LevelDown as LevelDOWN } from "leveldown"; import { IProc } from "./proc"; export declare function disableProc(db: LevelDOWN, activeProcs: IProc[], procName: string, callback: (err?: Error | null, proc?: IProc) => void): void; export declare function resumeProc(db: LevelDOWN, activeProcs: IProc[], procName: string, callback: (err?: Error | null, proc?: IProc) => void): void;