MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / constructor

Method constructor

graph-ui/src/app/ui-log.ts:187–195  ·  view source on GitHub ↗
(private readonly options: UiLogOptions)

Source from the content-addressed store, hash-verified

185 private readonly backoffMs: readonly number[];
186
187 constructor(private readonly options: UiLogOptions) {
188 this.now = options.now ?? (() => new Date());
189 this.schedule = options.schedule ?? ((fn, ms) => setTimeout(fn, ms));
190 this.cancel = options.cancel ?? ((handle) => clearTimeout(handle as ReturnType<typeof setTimeout>));
191 this.flushMs = options.flushMs ?? UI_LOG_FLUSH_MS;
192 this.batchMax = options.batchMax ?? UI_LOG_BATCH_MAX;
193 this.bufferMax = options.bufferMax ?? UI_LOG_BUFFER_MAX;
194 this.backoffMs = options.backoffMs ?? UI_LOG_BACKOFF_MS;
195 }
196
197 get session(): string {
198 return this.options.session;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected