Method
constructor
(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
Tested by
no test coverage detected