Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-DARC/DARC
/ sleep
Function
sleep
darc-protocol/test/conditionTest/operationLogTest.ts:80–82 ·
view source on GitHub ↗
(ms: number)
Source
from the content-addressed store, hash-verified
78
79
// wait for 5 seconds
80
function
sleep(ms: number) {
81
return
new
Promise((resolve) => setTimeout(resolve, ms));
82
}
83
let
bCatchException = false;
84
await
sleep(1);
85
try {
Callers
1
operationLogTest.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected