API/api.medcify.app/node_modules/@pm2/io/build/main/services/actions.d.ts

21 lines
547 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
export declare class Action {
handler: Function;
name: string;
type: string;
isScoped: boolean;
callback?: Function;
arity: number;
opts: Object | null | undefined;
}
export declare class ActionService {
private timer;
private transport;
private actions;
private logger;
private listener;
init(): void;
destroy(): void;
registerAction(actionName?: string, opts?: Object | undefined | Function, handler?: Function): void;
scopedAction(actionName?: string, handler?: Function): any;
}