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

Method StartAsync

pkg/tools/long_running.go:326–328  ·  view source on GitHub ↗

StartAsync 实现 LongRunningTool 接口

(ctx context.Context, args map[string]any)

Source from the content-addressed store, hash-verified

324
325// StartAsync 实现 LongRunningTool 接口
326func (t *BaseLongRunningTool) StartAsync(ctx context.Context, args map[string]any) (string, error) {
327 return t.executor.StartAsync(ctx, t, args)
328}
329
330// GetStatus 实现 LongRunningTool 接口
331func (t *BaseLongRunningTool) GetStatus(ctx context.Context, taskID string) (*TaskStatus, error) {

Callers

nothing calls this directly

Calls 1

StartAsyncMethod · 0.65

Tested by

no test coverage detected