UNPKG

rawx

Version:

process daemon with utilities

12 lines (11 loc) 491 B
import { Server_Args, Server_Constructor_I } from "./server_construct"; /** * Note all class vars moved to Server_Construct * this file contains runtime methods and is alive till SigTerm or .die() * Use Server is Server_Class, signature as a normal class, call with `new Server(args)` */ export declare type Server_Class = new (args: Server_Args) => Server_I; export interface Server_I extends Server_Constructor_I { set_range: (n: number) => void; die: () => void; }