UNPKG

axiodb

Version:

The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platfor

13 lines (12 loc) 496 B
import { Server } from 'net'; import { AxioDB } from '../../Services/Indexation.operation'; import { ConnectionManager } from '../connection/ConnectionManager'; /** * TCP Server for AxioDB * Provides remote access to AxioDB via TCP protocol */ export default function createAxioDBTCPServer(axioDB: AxioDB, port?: number): Promise<Server>; /** * Gracefully shutdown TCP server */ export declare function shutdownTCPServer(server: Server, connectionManager: ConnectionManager): Promise<void>;