MCPcopy Create free account
hub / github.com/BunnyWay/edge-script-sdk / sleep

Function sleep

example/middleware-simple-http/src/main.ts:3–5  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

1import * as BunnySDK from "@bunny.net/edgescript-sdk";
2
3function sleep(ms: number): Promise<void> {
4 return new Promise((resolve) => setTimeout(resolve, ms));
5}
6
7console.log("Starting server...");
8

Callers 1

main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected