method BunServer.stop
BunServer.stop(): void

Stops the server gracefully.

Return Type

void

Usage

import { type BunServer } from "runtime/src/index.ts";