MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / pauseSession

Function pauseSession

scripts/mars-api.mjs:296–298  ·  view source on GitHub ↗
(sessionId)

Source from the content-addressed store, hash-verified

294 },
295
296 async pauseSession(sessionId) {
297 await request("POST", `${SESSIONS_PATH}/${sessionId}/pause`);
298 },
299
300 /** @param {{ signal?: AbortSignal }} [options] */
301 async resumeSession(sessionId, { signal } = {}) {

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected