(options: RuntimeNodeServerOptions)
| 127 | } |
| 128 | |
| 129 | export function createRuntimeNodeServer(options: RuntimeNodeServerOptions): RuntimeServer { |
| 130 | return new RuntimeServer({ |
| 131 | ...options, |
| 132 | livenessProbe: options.livenessProbe ?? createRuntimeNodeLivenessProbe(), |
| 133 | }) |
| 134 | } |
| 135 | |
| 136 | export async function serveRuntimeNodeHttp(options: RuntimeNodeHttpServerOptions = {}): Promise<RuntimeNodeHttpServer> { |
| 137 | const host = options.host ?? "127.0.0.1" |
no test coverage detected