* Create a new `MsEdgeTTS` instance. * * @param options (optional) Options
(options?: Options)
| 85 | * @param options (optional) {@link Options} |
| 86 | */ |
| 87 | public constructor(options?: Options) { |
| 88 | this._agent = options?.agent || undefined |
| 89 | this._enableLogger = options?.enableLogger || false |
| 90 | this._isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" |
| 91 | } |
| 92 | |
| 93 | private static async getSynthUrl(): Promise<string> { |
| 94 | const req_id = MsEdgeTTS.generateUUID(); // Generate the request ID |
nothing calls this directly
no outgoing calls
no test coverage detected