3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00
zeppelin/backend/src/profiler.ts
2023-04-01 02:16:15 +03:00

12 lines
239 B
TypeScript

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