MCPcopy Create free account
hub / github.com/callstack/agent-device / captureWaitSnapshot

Function captureWaitSnapshot

src/daemon/selector-runtime-backend.ts:219–239  ·  view source on GitHub ↗
(params: SelectorRuntimeDeviceParams)

Source from the content-addressed store, hash-verified

217}
218
219async function captureWaitSnapshot(params: SelectorRuntimeDeviceParams) {
220 const captureRuntime = createSelectorCaptureRuntime({
221 device: params.device,
222 session: params.session,
223 sessionStore: params.sessionStore,
224 sessionName: params.sessionName,
225 req: params.req,
226 logPath: params.logPath,
227 });
228 const { snapshot } = await captureRuntime.capture({
229 flags: {
230 ...params.req.flags,
231 snapshotInteractiveOnly: false,
232 },
233 cache: {
234 forceFresh: true,
235 bypassForPostGestureStabilization: true,
236 },
237 });
238 return snapshot;
239}

Callers 1

findTextInWaitSnapshotFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…