Interface V8Server

HTTP server on V8

interface V8Server {
    finished: Promise<void>;
    ref(): void;
    shutdown(): Promise<void>;
    unref(): void;
}

Hierarchy (view full)

Properties

Methods

Properties

finished: Promise<void>

Resolves once the server is shutdown and all connections closed

Methods

  • References the server within the engine

    Returns void

    Remarks

    The server will prevent the program from exiting until it is shutdown.

    This is the default behaviour.

  • Unreferences the server within the engine

    Returns void

    Remarks

    The server will not prevent the program from exiting even if it is not shutdown.

Generated using TypeDoc