UNPKG
@actuatorjs/actuatorjs
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
Core interfaces and classes for actuatorjs ecosystem
@actuatorjs/actuatorjs
/
dist
/
esm
/
src
/
core
/
Actuator.js
13 lines
(12 loc)
•
289 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
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
(); } }