Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoo-Code-Org/Zoo-Code
/ flush
Method
flush
apps/cli/src/agent/json-event-emitter.ts:871–875 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
869
}
870
871
async
flush(): Promise<void> {
872
while
(this.pendingWrites.size > 0) {
873
await
Promise.all([...this.pendingWrites])
874
}
875
}
876
877
/**
878
* Get accumulated events (
for
testing or external use).
Callers
nothing calls this directly
Calls
1
all
Method · 0.80
Tested by
no test coverage detected