diff --git a/backend/src/profiler.ts b/backend/src/profiler.ts new file mode 100644 index 00000000..b9d0222f --- /dev/null +++ b/backend/src/profiler.ts @@ -0,0 +1,11 @@ +import { Profiler } from "knub/dist/Profiler"; + +let profiler: Profiler | null = null; + +export function getProfiler() { + return profiler; +} + +export function setProfiler(_profiler: Profiler) { + profiler = _profiler; +}