We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DialerRegistry
1 parent 56dd72e commit a1c2aebCopy full SHA for a1c2aeb
dialer.ts
@@ -2,6 +2,10 @@ import { existsSync } from "fs";
2
import { resolve } from "path";
3
import { Dialer, DialerContext } from "./dialer.types";
4
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.
9
export class DialerRegistry {
10
private readonly dialPath: string;
11
private preDialers: Dialer[] = [];
0 commit comments