Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ state
Function
state
packages/opencode/src/effect/runner.ts:53–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
let
ids = 0
52
53
const
state = () => SynchronizedRef.getUnsafe(ref)
54
const
next = () => {
55
ids += 1
56
return
ids
Callers
1
busy
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected