MCPcopy Create free account
hub / github.com/astercloud/aster / pause

Method pause

client-sdks/client-js/src/resources/session.ts:193–195  ·  view source on GitHub ↗

* 暂停 Session * @param sessionId Session ID

(sessionId: string)

Source from the content-addressed store, hash-verified

191 * @param sessionId Session ID
192 */
193 async pause(sessionId: string): Promise<SessionInfo> {
194 return this.update(sessionId, { status: "paused" });
195 }
196
197 /**
198 * 恢复 Session(从暂停状态)

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected