UNPKG

@dudousxd/nestjs-telescope

Version:

Laravel Telescope-style observability console for NestJS — core: watchers, recorder, correlation, SQLite store, headless API.

11 lines 437 B
/** Build the WatcherContext handed to each event-based watcher at registration. */ export function createWatcherContext(service, config, moduleRef) { return { record: (input) => service.record(input), runInBatch: (origin, fn) => service.runInBatch(origin, fn), beginBatch: (origin) => service.beginBatch(origin), config, moduleRef, }; } //# sourceMappingURL=watcher-context.factory.js.map