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

Method suspend

client-sdks/client-js/src/resources/workflow.ts:112–117  ·  view source on GitHub ↗

* 暂停 Workflow 执行 * @param workflowId Workflow ID * @param request 暂停请求

(workflowId: string, request: SuspendWorkflowRequest)

Source from the content-addressed store, hash-verified

110 * @param request 暂停请求
111 */
112 async suspend(workflowId: string, request: SuspendWorkflowRequest): Promise<void> {
113 await this.request(`/v1/workflows/${workflowId}/suspend`, {
114 method: "POST",
115 body: request,
116 });
117 }
118
119 /**
120 * 恢复 Workflow 执行

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected