Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ tick
Function
tick
packages/app/src/context/global-sync/queue.ts:16–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
const
key = input.key ?? ((directory: string) => directory)
15
16
const
tick = () =>
new
Promise<void>((resolve) => setTimeout(resolve, 0))
17
18
const
take = (count: number) => {
19
if
(queued.size === 0)
return
[] as string[]
Callers
1
drain
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected