UNPKG

@actuatorjs/actuatorjs

Version:

Core interfaces and classes for actuatorjs ecosystem

13 lines (12 loc) 289 B
import { getInfo } from "../info/InfoCheck"; export class Actuator { constructor(healthCheck) { this.healthCheck = healthCheck; } async getHealth() { return await this.healthCheck.getHealth(); } async getInfo() { return await getInfo(); } }