UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

28 lines (27 loc) 662 B
import { Action } from "./../index"; declare enum StatusMessages { healthy = "Node Healthy", unhealthy = "Node Unhealthy" } export declare class Status extends Action { name: string; description: string; outputExample: { id: string; actionheroVersion: string; uptime: number; }; run(): Promise<{ id: string; actionheroVersion: string; name: string; description: string; version: string; uptime: number; consumedMemoryMB: number; resqueTotalQueueLength: number; nodeStatus: StatusMessages; problems: string[]; }>; } export {};