Skip to content

Commit a1c2aeb

Browse files
Add user-friendly comment for DialerRegistry
Co-authored-by: Nikos Baxevanis <[email protected]>
1 parent 56dd72e commit a1c2aeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dialer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { existsSync } from "fs";
22
import { resolve } from "path";
33
import { Dialer, DialerContext } from "./dialer.types";
44

5+
// In telephony, a registry is used for maintaining a known set of handlers,
6+
// devices, or processes. This aligns with this class's purpose. Dialers are
7+
// loaded/stored and run in a structured way, so "registry" fits both telephony
8+
// and DI semantics.
59
export class DialerRegistry {
610
private readonly dialPath: string;
711
private preDialers: Dialer[] = [];

0 commit comments

Comments
 (0)