harperdb
Version:
HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.
14 lines (13 loc) • 573 B
TypeScript
export declare let disconnectedFromNode: any;
export declare let connectedToNode: any;
export declare function startOnMainThread(options: any): Promise<void>;
/**
* This is called when a request is made to get the cluster status. This should be executed only on the main thread
* and will return the status of all replication connections (for each database)
* @param message
* @param port
*/
export declare function requestClusterStatus(message: any, port: any): {
connections: any[];
};
export declare function ensureNode(name: string, node: any): Promise<void>;