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

Struct SupervisorActor

pkg/actor/supervisor.go:342–345  ·  view source on GitHub ↗

SupervisorActor 监督者 Actor 用于构建监督树

Source from the content-addressed store, hash-verified

340// SupervisorActor 监督者 Actor
341// 用于构建监督树
342type SupervisorActor struct {
343 config *SupervisorConfig
344 children map[string]*PID
345}
346
347// NewSupervisorActor 创建监督者 Actor
348func NewSupervisorActor(config *SupervisorConfig) *SupervisorActor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected