mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-24 16:46:18 -08:00
feat(core): add Electron runtime, services, and app composition
This commit is contained in:
1 parent
448ce03fd4
commit
d3fd47f0ec
562 files changed
+69719
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import type { SubtitleProcessingControllerDeps } from '../../core/services/subtitle-processing-controller';
|
||||
|
||||
export function createBuildSubtitleProcessingControllerMainDepsHandler(
|
||||
deps: SubtitleProcessingControllerDeps,
|
||||
) {
|
||||
return (): SubtitleProcessingControllerDeps => ({
|
||||
tokenizeSubtitle: (text: string) => deps.tokenizeSubtitle(text),
|
||||
emitSubtitle: (payload) => deps.emitSubtitle(payload),
|
||||
logDebug: deps.logDebug,
|
||||
now: deps.now,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user