mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 21:23:45 +00:00
refactor(desktop): pass export task reader runner through a port (#11858)
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
1 parent
0c83de1642
commit
f192180fb5
8 files changed
+103
-9
No files matched your search
@@ -29,7 +29,10 @@ import {
|
||||
DESKTOP_CAPTURE_DEFAULTS,
|
||||
type DesktopCaptureProgress,
|
||||
} from "../domain/desktop/desktopCapture.js";
|
||||
import { createDesktopCaptureProvider } from "../desktop/DesktopCaptureProvider.js";
|
||||
import {
|
||||
createDesktopCaptureProvider,
|
||||
runDesktopTaskReader,
|
||||
} from "../desktop/DesktopCaptureProvider.js";
|
||||
import { SessionRequestQueue } from "../desktop/DesktopSessionRequests.js";
|
||||
import { withCommandCancellation } from "./commandCancellation.js";
|
||||
import { registerCliCommand } from "./commandRegistry.js";
|
||||
@@ -407,7 +410,7 @@ const registerDesktopExportCommand = (
|
||||
...withheldRequestOf(options),
|
||||
viewPolicy: options.viewPolicy,
|
||||
},
|
||||
readers,
|
||||
{ ...readers, taskReader: runDesktopTaskReader },
|
||||
signal,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user