MCPcopy Create free account
hub / github.com/freecodexyz/free-code / drainTick

Function drainTick

src/utils/computerUse/drainRunLoop.ts:20–22  ·  view source on GitHub ↗
(cu: ReturnType<typeof requireComputerUseSwift>)

Source from the content-addressed store, hash-verified

18let pending = 0
19
20function drainTick(cu: ReturnType<typeof requireComputerUseSwift>): void {
21 cu._drainMainRunLoop()
22}
23
24function retain(): void {
25 pending++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected