Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ evict
Function
evict
apps/sim/lib/concurrency/singleflight.ts:39–41 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
let
timer: ReturnType<typeof setTimeout> | undefined
39
const
evict = () => {
40
if
(inflight.get(key) === guarded) inflight.delete(key)
41
}
42
43
const
guarded: Promise<T> = Promise.race([
44
(
async
() => {
Callers
1
coalesceLocally
Function · 0.85
Calls
2
get
Method · 0.65
delete
Method · 0.65
Tested by
no test coverage detected