UNPKG

hazelcast-client

Version:

Hazelcast - open source In-Memory Data Grid - client for NodeJS

17 lines (16 loc) 453 B
import { EventEmitter } from 'events'; import HazelcastClient from './HazelcastClient'; export declare var LifecycleEvent: { name: string; starting: string; started: string; shuttingDown: string; shutdown: string; }; export declare class LifecycleService extends EventEmitter { private active; private client; constructor(client: HazelcastClient); emitLifecycleEvent(state: string): void; isRunning(): boolean; }