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

Method activate

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

* 恢复 Session(从暂停状态) * @param sessionId Session ID

(sessionId: string)

Source from the content-addressed store, hash-verified

199 * @param sessionId Session ID
200 */
201 async activate(sessionId: string): Promise<SessionInfo> {
202 return this.update(sessionId, { status: "active" });
203 }
204
205 /**
206 * 完成 Session

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected