Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Botloader/botloader
/ test_async_lock.ts
File
test_async_lock.ts
integration-tests/test_async_lock.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ AsyncLock, Discord, Storage } from
"botloader"
;
2
import
{ assertExpected, runOnce, sendScriptCompletion } from
"lib"
;
3
4
runOnce(script.name,
async
() => {
Callers
nothing calls this directly
Calls
3
runOnce
Function · 0.90
sendScriptCompletion
Function · 0.90
withLocked
Method · 0.80
Tested by
no test coverage detected