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

Function makeRecorder

packages/agent-core/test/di/lifecycle.test.ts:28–34  ·  view source on GitHub ↗
(label: string, store: string[])

Source from the content-addressed store, hash-verified

26} from '#/errors/unexpectedError';
27
28function makeRecorder(label: string, store: string[]): IDisposable {
29 return {
30 dispose() {
31 store.push(label);
32 },
33 };
34}
35
36function makeThrower(message: string): IDisposable {
37 return {

Callers 2

lifecycle.test.tsFile · 0.85
addMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected