UNPKG

@apollo/server

Version:
13 lines 444 B
/// <reference types="node" /> /// <reference types="node" /> import type http from 'http'; import https from 'https'; import type { AbortSignal } from 'node-abort-controller'; export declare class Stopper { private server; private requestCountPerSocket; private stopped; constructor(server: http.Server | https.Server); stop(hardDestroyAbortSignal?: AbortSignal): Promise<boolean>; } //# sourceMappingURL=stoppable.d.ts.map