MCPcopy Create free account
hub / github.com/GCWing/BitFun / constructor

Method constructor

src/web-ui/src/flow_chat/services/FlowChatManager.test.ts:43–45  ·  view source on GitHub ↗
(private readonly options: { onFlush: (events: Array<{ key: string; payload: unknown }>) => void })

Source from the content-addressed store, hash-verified

41 public destroy = vi.fn();
42
43 constructor(private readonly options: { onFlush: (events: Array<{ key: string; payload: unknown }>) => void }) {
44 storeMocks.eventBatchers.push(this);
45 }
46
47 flush(events: Array<{ key: string; payload: unknown }>): void {
48 this.options.onFlush(events);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected