MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / flush

Method flush

packages/agent-core/src/logging/sinks.ts:22–22  ·  view source on GitHub ↗

Resolves to false when the pending batch could not be written.

()

Source from the content-addressed store, hash-verified

20 enqueue(line: string): void;
21 /** Resolves to false when the pending batch could not be written. */
22 flush(): Promise<boolean>;
23 close(): Promise<void>;
24 flushSync(): void;
25}

Callers 15

telemetry.test.tsFile · 0.65
flushMethod · 0.65
shutdownMethod · 0.65
flushMethod · 0.65
closeMethod · 0.65
sinks.test.tsFile · 0.65
logger.test.tsFile · 0.65
runtime.test.tsFile · 0.65
turn.test.tsFile · 0.65
index.test.tsFile · 0.65

Implementers 1

RotatingFileSinkpackages/agent-core/src/logging/sinks.

Calls

no outgoing calls

Tested by

no test coverage detected