Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ trigger
Function
trigger
packages/opencode/src/util/signal.ts:5–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
const
promise =
new
Promise((r) => (resolve = r))
4
return
{
5
trigger() {
6
return
resolve()
7
},
8
wait() {
9
return
promise
10
},
Callers
1
eventuallyUpdate
Function · 0.50
Calls
1
resolve
Function · 0.70
Tested by
1
eventuallyUpdate
Function · 0.40