nullresolve/ts/index.ts
2024-12-26 00:29:13 +01:00

18 lines
403 B
TypeScript

import './nullresolve.logging.js';
import { NullResolve } from './nullresolve.classes.nullresolve.js';
export { NullResolve };
let mainNullResolve: NullResolve;
export const runCli = async () => {
mainNullResolve = new NullResolve();
await mainNullResolve.start();
};
export const stop = async () => {
if (mainNullResolve) {
await mainNullResolve.stop();
mainNullResolve = null;
}
};