mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
12 lines
412 B
TypeScript
12 lines
412 B
TypeScript
import { runHealthScript } from "./runHealthScript"
|
|
export { checkPortListening } from "./checkPortListening"
|
|
export { CheckResult } from "./CheckResult"
|
|
export { checkWebUrl } from "./checkWebUrl"
|
|
|
|
export function timeoutPromise(ms: number, { message = "Timed out" } = {}) {
|
|
return new Promise<never>((resolve, reject) =>
|
|
setTimeout(() => reject(new Error(message)), ms),
|
|
)
|
|
}
|
|
export { runHealthScript }
|