MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / constructor

Method constructor

packages/db/src/buffers/event-buffer.ts:73–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 private queueKey = 'event_buffer:queue';
72
73 constructor() {
74 super({
75 name: 'event',
76 onFlush: async () => {
77 await this.processBuffer();
78 },
79 });
80 }
81
82 bulkAdd(events: IClickhouseEvent[]) {
83 for (const event of events) {

Callers

nothing calls this directly

Calls 1

processBufferMethod · 0.95

Tested by

no test coverage detected