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

Function runBatchCommands

src/daemon/handlers/session-batch.ts:4–10  ·  view source on GitHub ↗
(
  req: DaemonRequest,
  sessionName: string,
  invoke: DaemonInvokeFn,
)

Source from the content-addressed store, hash-verified

2import type { DaemonInvokeFn, DaemonRequest, DaemonResponse } from '../types.ts';
3
4export async function runBatchCommands(
5 req: DaemonRequest,
6 sessionName: string,
7 invoke: DaemonInvokeFn,
8): Promise<DaemonResponse> {
9 return await runBatch(req, sessionName, invoke as BatchInvoke);
10}

Callers 1

handleSessionCommandsFunction · 0.90

Calls 1

runBatchFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…