UNPKG

@cimo/pid

Version:

Process id. Light, fast and secure.

13 lines (12 loc) 471 B
import * as model from "./Model.js"; export default class Manager { private mainObject; private timeCheck; private interval; constructor(timeCheckValue?: number); getMainObject: () => Record<number, model.Iparameter>; checkRunning: (tagValue: string) => boolean; add: (tag: string, data: string, timeLimit: number, callback: model.IcallbackAction) => void; update: (key: number, data: string) => void; remove: (key: number) => void; }