Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Botloader/botloader
/ unlock
Method
unlock
components/runtime/src/ts/core_util.ts:213–220 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
211
}
212
213
private unlock() {
214
let
next = this.waiting.shift()
215
if
(next) {
216
next(null)
217
}
else
{
218
this.locked = false
219
}
220
}
221
222
/**
223
* Run the provided
function
exclusively on the lock
Callers
1
withLocked
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected