redis-smq-common
Version:
Provides essential components and utilities shared across RedisSMQ packages.
15 lines • 422 B
TypeScript
export declare class PowerSwitch {
protected isPowered: boolean;
protected pendingState: boolean | null;
protected switch(s: boolean): boolean;
isUp(): boolean;
isDown(): boolean;
isGoingUp(): boolean;
isGoingDown(): boolean;
isRunning(): boolean;
goingUp(): boolean;
goingDown(): boolean;
commit(): boolean;
rollback(): boolean;
}
//# sourceMappingURL=power-switch.d.ts.map