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

Function NewCoordinatorActor

pkg/workflow/actor_engine.go:261–266  ·  view source on GitHub ↗

NewCoordinatorActor 创建协调器

(engine *ActorEngine)

Source from the content-addressed store, hash-verified

259
260// NewCoordinatorActor 创建协调器
261func NewCoordinatorActor(engine *ActorEngine) *CoordinatorActor {
262 return &CoordinatorActor{
263 engine: engine,
264 runningWorkflows: make(map[string]*workflowState),
265 }
266}
267
268// Receive 处理消息
269func (c *CoordinatorActor) Receive(ctx *actor.Context, msg actor.Message) {

Callers 1

NewActorEngineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected