Declare the logger contract in the library instead of depending on @larvit/log

This commit is contained in:
2026-08-27 13:42:58 +02:00
parent ff3667e120
commit 8d245c82c4
18 changed files with 110 additions and 50 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import type { LogInt } from '@larvit/log';
import type { Result, VoidResult } from './result.ts';
import type { SmppLog } from './log.ts';
import type { Socket } from 'node:net';
export type ReconnectLoopOptions = {
connect: () => Promise<Result<{ sock: Socket }>>;
log: LogInt;
log: SmppLog;
maxDelay: number;
minDelay: number;
/** Brings the owner back up on a freshly opened socket. An err means try again. */