3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-07 16:05:01 +00:00
zeppelin/backend/src/profiler.ts
2024-08-11 22:03:16 +03:00

12 lines
256 B
TypeScript

import type { Knub } from "knub";
type Profiler = Knub["profiler"];
let profiler: Profiler | null = null;
export function getProfiler(): Profiler | null {
return profiler;
}
export function setProfiler(_profiler: Profiler) {
profiler = _profiler;
}